Skip to content

GramIO API Reference / gramio/dist / SetChatMenuButtonParams

Interface: SetChatMenuButtonParams

Defined in: @gramio/types/out/params.d.ts:2631

Params object for setChatMenuButton method

Properties

PropertyTypeDescriptionDefined in
chat_id?numberUnique identifier for the target private chat. If not specified, default bot's menu button will be changed@gramio/types/out/params.d.ts:2635
menu_button?TelegramMenuButtonA JSON-serialized object for the bot's new menu button. Defaults to MenuButtonDefault@gramio/types/out/params.d.ts:2639