# SwitchInlineQueryChosenChat

Source: https://core.telegram.org/bots/api#switchinlinequerychosenchat

[Documentation index](../llms.txt)

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

| Field | Type | Description |
| --- | --- | --- |
| query | String | *Optional*. The default inline query to be inserted in the input field. If left empty, only the bot's username will be inserted. |
| allow\_user\_chats | Boolean | *Optional*. *True*, if private chats with users can be chosen |
| allow\_bot\_chats | Boolean | *Optional*. *True*, if private chats with bots can be chosen |
| allow\_group\_chats | Boolean | *Optional*. *True*, if group and supergroup chats can be chosen |
| allow\_channel\_chats | Boolean | *Optional*. *True*, if channel chats can be chosen |
