Skip to content

GramIO API Reference / gramio/dist / SetChatMenuButtonParams

Interface: SetChatMenuButtonParams

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

Params object for setChatMenuButton method

Properties

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