SetChatMenuButton

@Serializable
data class SetChatMenuButton(val chatId: ChatIdentifier, val menuButton: MenuButton) : ChatRequest, SimpleRequest<Boolean>

Constructors

Link copied to clipboard
constructor(chatId: ChatIdentifier, menuButton: MenuButton)

Properties

Link copied to clipboard
@SerialName(value = "chat_id")
open override val chatId: ChatIdentifier
Link copied to clipboard
@Serializable(with = MenuButtonSerializer::class)
@SerialName(value = "menu_button")
val menuButton: MenuButton
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<Boolean>

Functions

Link copied to clipboard
open override fun method(): String