Module

x/grammy/types.ts

The Telegram Bot Framework.
Go to Latest
interface ChosenInlineResult
import { type ChosenInlineResult } from "https://deno.land/x/grammy@v1.10.1/types.ts";

Represents a result of an inline query that was chosen by the user and sent to their chat partner.

Note: It is necessary to enable inline feedback via @BotFather in order to receive these objects in updates.

Properties

result_id: string

The unique identifier for the result that was chosen

from: User

The user that chose the result

optional
location: Location

Sender location, only for bots that require user location

optional
inline_message_id: string

Identifier of the sent inline message. Available only if there is an inline keyboard attached to the message. Will be also received in callback queries and can be used to edit the message.

query: string

The query that was used to obtain the result

import ChosenInlineResult
import { ChosenInlineResult } from "https://deno.land/x/grammy@v1.10.1/types.ts";