docs
4.1.2
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
>
Constructors
Functions
Properties
Constructors
Set
Chat
Menu
Button
Link copied to clipboard
fun
SetChatMenuButton
(
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
>