filters

package
v2.0.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: MIT Imports: 2 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(_ *gotgbot.Message) bool

func Animation

func Animation(msg *gotgbot.Message) bool

func Audio

func Audio(msg *gotgbot.Message) bool

func Buttons

func Buttons(msg *gotgbot.Message) bool

func Caption

func Caption(msg *gotgbot.Message) bool

func Command

func Command(msg *gotgbot.Message) bool

func Contact

func Contact(msg *gotgbot.Message) bool

func Dice

func Dice(msg *gotgbot.Message) bool

func DiceValue

func DiceValue(msg *gotgbot.Message, val int64) bool

func Document

func Document(msg *gotgbot.Message) bool

func Forwarded

func Forwarded(msg *gotgbot.Message) bool

func Game

func Game(msg *gotgbot.Message) bool

func Group

func Group(msg *gotgbot.Message) bool

func LeftChatMembers

func LeftChatMembers(msg *gotgbot.Message) bool

func Location

func Location(msg *gotgbot.Message) bool

func Migrate

func Migrate(msg *gotgbot.Message) bool

func MigrateFrom

func MigrateFrom(msg *gotgbot.Message) bool

func MigrateTo

func MigrateTo(msg *gotgbot.Message) bool

func NewChatMembers

func NewChatMembers(msg *gotgbot.Message) bool

func Photo

func Photo(msg *gotgbot.Message) bool

func Pin

func Pin(msg *gotgbot.Message) bool

func Poll

func Poll(msg *gotgbot.Message) bool

func Private

func Private(msg *gotgbot.Message) bool

func Reply

func Reply(msg *gotgbot.Message) bool

func Sticker

func Sticker(msg *gotgbot.Message) bool

func Supergroup

func Supergroup(msg *gotgbot.Message) bool

func Text

func Text(msg *gotgbot.Message) bool

func Venue

func Venue(msg *gotgbot.Message) bool

func ViaBot

func ViaBot(msg *gotgbot.Message) bool

func Video

func Video(msg *gotgbot.Message) bool

func VideoNote

func VideoNote(msg *gotgbot.Message) bool

func Voice

func Voice(msg *gotgbot.Message) bool

Types

type CallbackQuery

type CallbackQuery func(cq *gotgbot.CallbackQuery) bool

func CallbackUserID

func CallbackUserID(id int64) CallbackQuery

func Equal

func Equal(match string) CallbackQuery

func GameName

func GameName(name string) CallbackQuery

func Prefix

func Prefix(prefix string) CallbackQuery

func Suffix

func Suffix(suffix string) CallbackQuery

func (CallbackQuery) And

func (CallbackQuery) Not

func (f CallbackQuery) Not() CallbackQuery

func (CallbackQuery) Or

type InlineQuery

type InlineQuery func(iq *gotgbot.InlineQuery) bool

func InlineUserID

func InlineUserID(id int64) InlineQuery

func Query

func Query(q string) InlineQuery

func (InlineQuery) And

func (InlineQuery) Not

func (f InlineQuery) Not() InlineQuery

func (InlineQuery) Or

type Message

type Message func(msg *gotgbot.Message) bool

func CaptionEntity

func CaptionEntity(entType string) Message

func ChatID

func ChatID(id int64) Message

func ChatUsername

func ChatUsername(name string) Message

func Entity

func Entity(entType string) Message

func MessageUserID

func MessageUserID(id int64) Message

func Username

func Username(name string) Message

func (Message) And

func (f Message) And(f2 Message) Message

func (Message) Not

func (f Message) Not() Message

func (Message) Or

func (f Message) Or(f2 Message) Message

Jump to

Keyboard shortcuts

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