mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
add docs for PinChatMessage
This commit is contained in:
parent
60d5581ec6
commit
0886781d61
@ -6,6 +6,11 @@ import dev.inmo.tgbotapi.types.*
|
||||
import kotlinx.serialization.*
|
||||
import kotlinx.serialization.builtins.serializer
|
||||
|
||||
/**
|
||||
* Use this method to add a message to the list of pinned messages in a chat. If the chat is not a private chat, the bot
|
||||
* must be an administrator in the chat for this to work and must have the 'can_pin_messages' admin right in a
|
||||
* supergroup or 'can_edit_messages' admin right in a channel.
|
||||
*/
|
||||
@Serializable
|
||||
data class PinChatMessage (
|
||||
@SerialName(chatIdField)
|
||||
|
Loading…
Reference in New Issue
Block a user