Documentation ¶
Index ¶
- Variables
- func Channel(u *ext.Update) bool
- func GetDocument(m *types.Message) *tg.Document
- func Group(u *ext.Update) bool
- func Supergroup(u *ext.Update) bool
- type CallbackQueryFilter
- type ChatMemberUpdatedFilter
- type InlineQueryFilter
- type MessageFilter
- type PendingJoinRequestsFilter
- type UpdateFilter
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Message = messageFilters{} CallbackQuery = callbackQueryFilters{} InlineQuery = inlineQuery{} PendingJoinRequests = pendingJoinRequests{} ChatMemberUpdated = chatMemberUpdated{} )
Functions ¶
func Supergroup ¶
Supergroup returns true if the update is from a supergroup.
Types ¶
type CallbackQueryFilter ¶
type CallbackQueryFilter func(cbq *tg.UpdateBotCallbackQuery) bool
type ChatMemberUpdatedFilter ¶
type InlineQueryFilter ¶
type InlineQueryFilter func(iq *tg.UpdateBotInlineQuery) bool
type MessageFilter ¶
type PendingJoinRequestsFilter ¶
type PendingJoinRequestsFilter func(cjr *tg.UpdatePendingJoinRequests) bool
type UpdateFilter ¶
Click to show internal directories.
Click to hide internal directories.