Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InlineQueryEvent

New incoming inline query.

guides

Check official reference.

eventcategory

'postback'

eventtype

'inline_query'

Hierarchy

  • EventObject<"postback", "inline_query">
  • EventBase
  • InlineQuery
    • InlineQueryEvent

Index

Properties

botId: number
category: "postback"
channel: null

The chat channel

inlineQuery: any

Inline query object.

location?: any

Sender location, only for bots that request user location

offset?: string

Offset of the results to be returned, can be controlled by the bot

platform: "telegram"
query: string

Text of the query (up to 256 characters)

queryId: string

Unique identifier for this query

type: "inline_query"
updateId: string

The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially. This ID becomes especially handy if you're using Webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then identifier of the next update will be chosen randomly instead of sequentially.

Sender

Generated using TypeDoc