Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
// contains filtered or unexported fields
}
func NewChannel ¶
func NewChannel(banChecker channelBanChecker) *Channel
func (*Channel) Description ¶
func (*Channel) Description() Description
func (*Channel) IsMessageAllowed ¶
func (*Channel) ScrutinyModeOnly ¶
func (*Channel) ShouldSuppressMock ¶
type Description ¶
type Description struct {
ID, Name, Desc string
}
type Multi ¶
type Multi struct {
// contains filtered or unexported fields
}
func (Multi) HasFilterWithID ¶
type Mute ¶
type Mute struct {
// contains filtered or unexported fields
}
func (*Mute) Description ¶
func (*Mute) Description() Description
func (*Mute) ScrutinyModeOnly ¶
func (*Mute) ShouldSuppressMock ¶
type Regex ¶
type Regex struct {
// contains filtered or unexported fields
}
func NewRegexWithCompiler ¶
func NewRegexWithCompiler(bannedRegexGetter bannedRegexGetter, regexCompiler regexCompiler) *Regex
func (*Regex) Description ¶
func (*Regex) Description() Description
func (*Regex) ScrutinyModeOnly ¶
func (*Regex) ShouldSuppressMock ¶
type Screenshot ¶
type Screenshot struct {
// contains filtered or unexported fields
}
func NewScreenshot ¶
func NewScreenshot(messageImageDownloader messageImageDownloader, screenshotDetector screenshotDetector) *Screenshot
func (*Screenshot) Description ¶
func (*Screenshot) Description() Description
func (*Screenshot) IsMessageAllowed ¶
func (s *Screenshot) IsMessageAllowed(message *tgbotapi.Message) bool
func (*Screenshot) ScrutinyModeOnly ¶
func (*Screenshot) ScrutinyModeOnly() bool
func (*Screenshot) ShouldSuppressMock ¶
func (*Screenshot) ShouldSuppressMock() bool
type Stories ¶
type Stories struct{}
func (*Stories) Description ¶
func (*Stories) Description() Description
func (*Stories) ScrutinyModeOnly ¶
func (*Stories) ShouldSuppressMock ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.