telegram_bots_api/api/params/get_chat_menu_button.rs
1use crate::api::enums::chat_uid::ChatUId;
2use serde::Serialize;
3
4/// <https://core.telegram.org/bots/api#getchatmenubutton>
5/// Use this method to get the current value of the bot's menu button in a private chat, or the default menu button. Returns MenuButton on success.
6#[derive(Debug, Serialize, Default)]
7pub struct GetChatMenuButton {
8 #[serde(skip_serializing_if = "Option::is_none")]
9 pub chat_id: Option<ChatUId>,
10}