Pin Chat Message Request
data class PinChatMessageRequest(chatId: Int, messageId: Int, disableNotification: Boolean)
Content copied to clipboard
Request body for pinChatMessage
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.
Constructors
PinChatMessageRequest
Link copied to clipboard
fun PinChatMessageRequest(chatId: Int, messageId: Int, disableNotification: Boolean = false)
Content copied to clipboard
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard