Skip to main content
Module

x/grammy_hydrate/deps.deno.ts>SwitchInlineQueryChosenChat

Hydration plugin for API calls and context objects.
Latest
interface SwitchInlineQueryChosenChat
import { type SwitchInlineQueryChosenChat } from "https://deno.land/x/grammy_hydrate@v1.4.1/deps.deno.ts";

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

Properties

optional
query: string

The default inline query to be inserted in the input field. If left empty, only the bot's username will be inserted

optional
allow_user_chats: boolean

True, if private chats with users can be chosen

optional
allow_bot_chats: boolean

True, if private chats with bots can be chosen

optional
allow_group_chats: boolean

True, if group and supergroup chats can be chosen

optional
allow_channel_chats: boolean

True, if channel chats can be chosen