Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BanChannelOfForwardedMessageHandler ¶
type BanChannelOfForwardedMessageHandler struct {
// contains filtered or unexported fields
}
func NewBanChannelOfForwardedMessageHandler ¶
func NewBanChannelOfForwardedMessageHandler( sender sender, channelBannner channelBannner, newlyDisallowedMessageCleaner newlyDisallowedMessageCleaner, ) *BanChannelOfForwardedMessageHandler
func (BanChannelOfForwardedMessageHandler) Handle ¶
func (h BanChannelOfForwardedMessageHandler) Handle(message *tgbotapi.Message)
type BotPrivateMessageHandler ¶
type BotPrivateMessageHandler struct {
// contains filtered or unexported fields
}
func NewBotPrivateMessageHandler ¶
func NewBotPrivateMessageHandler( sender sender, adminChecker adminChecker, commandHandler, regularMessageHandler, stickerMessageHandler messageHandler, ) *BotPrivateMessageHandler
func (BotPrivateMessageHandler) Handle ¶
func (h BotPrivateMessageHandler) Handle(message *tgbotapi.Message)
type GroupMessageHandler ¶
type GroupMessageHandler struct {
// contains filtered or unexported fields
}
func NewGroupMessageHandler ¶
func NewGroupMessageHandler( chatAdder chatAdder, offendingMessageHandler offendingMessageHandler, filterPassChecker filterPassChecker, messageHistoryAdder messageHistoryAdder, ) *GroupMessageHandler
func (*GroupMessageHandler) Handle ¶
func (h *GroupMessageHandler) Handle(message *tgbotapi.Message)
type StickerPrivateMessageHandler ¶
type StickerPrivateMessageHandler struct {
// contains filtered or unexported fields
}
func NewStickerPrivateMessageHandler ¶
func NewStickerPrivateMessageHandler(snd sender, sa stickerAdder) *StickerPrivateMessageHandler
func (StickerPrivateMessageHandler) Handle ¶
func (h StickerPrivateMessageHandler) Handle(message *tgbotapi.Message)
type UpdateHandler ¶
type UpdateHandler struct {
// contains filtered or unexported fields
}
func NewUpdateHandler ¶
func NewUpdateHandler( botPrivateMessageHandler, groupMessageHandler messageHandler, ) *UpdateHandler
func (UpdateHandler) Handle ¶
func (h UpdateHandler) Handle(update *tgbotapi.Update)
Click to show internal directories.
Click to hide internal directories.