Skip to content

GramIO API Reference / gramio/dist / TelegramSwitchInlineQueryChosenChat

Interface: TelegramSwitchInlineQueryChosenChat

Defined in: @gramio/types/out/objects.d.ts:3319

This object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query.

Documentation

Properties

PropertyTypeDescriptionDefined in
allow_bot_chats?booleanOptional. True, if private chats with bots can be chosen@gramio/types/out/objects.d.ts:3331
allow_channel_chats?booleanOptional. True, if channel chats can be chosen@gramio/types/out/objects.d.ts:3339
allow_group_chats?booleanOptional. True, if group and supergroup chats can be chosen@gramio/types/out/objects.d.ts:3335
allow_user_chats?booleanOptional. True, if private chats with users can be chosen@gramio/types/out/objects.d.ts:3327
query?stringOptional. The default inline query to be inserted in the input field. If left empty, only the bot's username will be inserted@gramio/types/out/objects.d.ts:3323