-
Notifications
You must be signed in to change notification settings - Fork 11
pin chat message
Alexey Kravtsov edited this page May 19, 2020
·
1 revision
libtd-ktx / kotlinx.telegram.coroutines / pinChatMessage
suspend fun
TelegramFlow
.pinChatMessage(chatId:
Long
, messageId:
Long
, disableNotification:
Boolean
):
Unit
Suspend function, which pins a message in a chat; requires canPinMessages rights.
chatId
- Identifier of the chat.
messageId
- Identifier of the new pinned message.
disableNotification
- True, if there should be no notification about the pinned message.