teleproto - v1.229.0
    Preparing search index...

    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.

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

    Hierarchy

    • EventBuilder
      • CallbackQuery
    Index
    blacklistChats: boolean
    chats?: string[]
    func?: CallableFunction
    match?: RegExp
    resolved: boolean