docs
6.0.3
common
docs
/
dev.inmo.tgbotapi.requests.chat.modify
/
SetChatMenuButton
Set
Chat
Menu
Button
@
Serializable
data
class
SetChatMenuButton
(
val
chatId
:
ChatIdentifier
,
val
menuButton
:
MenuButton
)
:
ChatRequest
,
SimpleRequest
<
Boolean
>
Members
Constructors
Set
Chat
Menu
Button
Link copied to clipboard
constructor
(
chatId
:
ChatIdentifier
,
menuButton
:
MenuButton
)
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String
Properties
chat
Id
Link copied to clipboard
open
override
val
chatId
:
ChatIdentifier
menu
Button
Link copied to clipboard
@
Serializable
(
with
=
MenuButtonSerializer::class
)
val
menuButton
:
MenuButton
request
Serializer
Link copied to clipboard
open
override
val
requestSerializer
:
SerializationStrategy
<
*
>
result
Deserializer
Link copied to clipboard
open
override
val
resultDeserializer
:
DeserializationStrategy
<
Boolean
>