toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
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
)
Properties
chat
Id
Link copied to clipboard
@
SerialName
(
value
=
"chat_id"
)
open
override
val
chatId
:
ChatIdentifier
menu
Button
Link copied to clipboard
@
Serializable
(
with
=
MenuButtonSerializer::class
)
@
SerialName
(
value
=
"menu_button"
)
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
>
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String