Skip to content

GramIO API Reference / gramio/dist / TelegramSwitchInlineQueryChosenChat

Interface: TelegramSwitchInlineQueryChosenChat

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

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:3862
allow_channel_chats?booleanOptional. True, if channel chats can be chosen@gramio/types/out/objects.d.ts:3870
allow_group_chats?booleanOptional. True, if group and supergroup chats can be chosen@gramio/types/out/objects.d.ts:3866
allow_user_chats?booleanOptional. True, if private chats with users can be chosen@gramio/types/out/objects.d.ts:3858
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:3854