Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CallbackQuery

Occurs whenever you sign in as a bot and a user clicks one of the inline buttons on your messages. Note that the chats parameter will not work with normal IDs or peers if the clicked inline button comes from a "via bot" message. The chats parameter also supports checking against the chat_instance which should be used for inline callbacks.

example
async function printQuery(event: NewCallbackQueryEvent) {
// TODO
}

Hierarchy

Index

Properties

match?: RegExp
chats?: string[]
blacklistChats: boolean
resolved: boolean
func?: CallableFunction

Constructors

Methods

Generated using TypeDoc