message

package
v2.0.0-rc.26 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 5 Imported by: 11

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 Business

func Business(msg *gotgbot.Message) bool

func Caption

func Caption(msg *gotgbot.Message) bool

func CaptionEntities

func CaptionEntities(m *gotgbot.Message) bool

func CaptionEntity

func CaptionEntity(entType string) filters.Message

func Channel

func Channel(msg *gotgbot.Message) bool

func ChatID

func ChatID(id int64) filters.Message

func ChatShared

func ChatShared(msg *gotgbot.Message) bool

func ChatType

func ChatType(t string) filters.Message

func ChatUsername

func ChatUsername(name string) filters.Message

func Command

func Command(msg *gotgbot.Message) bool

func Contact

func Contact(msg *gotgbot.Message) bool

func Contains

func Contains(contains string) filters.Message

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 Entities

func Entities(m *gotgbot.Message) bool

func Entity

func Entity(entType string) filters.Message

func Equal

func Equal(eq string) filters.Message

func ForwardFromChatID

func ForwardFromChatID(id int64) filters.Message

func ForwardFromUserID

func ForwardFromUserID(id int64) filters.Message

func Forwarded

func Forwarded(msg *gotgbot.Message) bool

func FromUserID

func FromUserID(id int64) filters.Message

func FromUsername

func FromUsername(name string) filters.Message

func Game

func Game(msg *gotgbot.Message) bool

func Group

func Group(msg *gotgbot.Message) bool

func HasPrefix

func HasPrefix(prefix string) filters.Message

func HasSuffix

func HasSuffix(suffix string) filters.Message

func IsAutomaticForward

func IsAutomaticForward(msg *gotgbot.Message) bool

func LeftChatMember

func LeftChatMember(msg *gotgbot.Message) bool

func Location

func Location(msg *gotgbot.Message) bool

func MediaGroup

func MediaGroup(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 PinnedMessage

func PinnedMessage(msg *gotgbot.Message) bool

func Poll

func Poll(msg *gotgbot.Message) bool

func Private

func Private(msg *gotgbot.Message) bool

func Regex

func Regex(p string) (filters.Message, error)

func Reply

func Reply(msg *gotgbot.Message) bool

func ReplyMarkup

func ReplyMarkup(msg *gotgbot.Message) bool

func Sticker

func Sticker(msg *gotgbot.Message) bool

func Story

func Story(msg *gotgbot.Message) bool

func Supergroup

func Supergroup(msg *gotgbot.Message) bool

func Text

func Text(msg *gotgbot.Message) bool

func TopicAction

func TopicAction(msg *gotgbot.Message) bool

func TopicClosed

func TopicClosed(msg *gotgbot.Message) bool

func TopicCreated

func TopicCreated(msg *gotgbot.Message) bool

func TopicEdited

func TopicEdited(msg *gotgbot.Message) bool

func TopicReopened

func TopicReopened(msg *gotgbot.Message) bool

func UsersShared

func UsersShared(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

This section is empty.

Jump to

Keyboard shortcuts

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