libtd-ktx / kotlinx.telegram.extensions / ChatKtx / pinMessage
pinMessage
open suspend fun
Chat
.pinMessage(messageId:
Long
, disableNotification:
Boolean
):
Unit
Suspend function, which pins a message in a chat; requires canPinMessages rights.
Parameters
messageId
- Identifier of the new pinned message.
disableNotification
- True, if there should be no notification about the pinned message.