Pin Chat Message Request
fun PinChatMessageRequest(chatId: Int, messageId: Int, disableNotification: Boolean = false)
Content copied to clipboard
Parameters
chatId
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
messageId
Identifier of a message to pin
disableNotification
Pass True, if it is not necessary to send a notification to all chat members about the new pinned message. Notifications are always disabled in channels and private chats.