callbackquery

package
v0.9.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func And

And combines multiple filters, all must pass.

func ChatInstance

func ChatInstance(instance int64) filters.UpdateNewCallbackQuery

ChatInstance checks if the callback query chat instance matches the given instance string.

func Equal

Equal checks if the callback query data equals the given match string.

func FromUserID

func FromUserID(id int64) filters.UpdateNewCallbackQuery

FromUserID checks if the callback query sender's user ID matches the given ID.

func GameName

func GameName(name string) filters.UpdateNewCallbackQuery

GameName checks if the callback query is for a game and matches the given short name.

func Not

Not negates a filter.

func Or

Or combines multiple filters, at least one must pass.

func Prefix

func Prefix(prefix string) filters.UpdateNewCallbackQuery

Prefix checks if the callback query data starts with the given prefix.

func Private

Private checks if the callback query originated from a private chat.

func Regex

func Regex(pattern string) filters.UpdateNewCallbackQuery

Regex checks if the callback query data matches the given regex pattern.

func Suffix

func Suffix(suffix string) filters.UpdateNewCallbackQuery

Suffix checks if the callback query data ends with the given suffix.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL