deleteAndBan

package
v0.0.0-...-4f983b9 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotSupported = errors.New("not supported")

Functions

func Help

func Help() string

func New

func New(logger *zap.Logger, bot *telego.Bot, config map[string]any) (interfaces.Action, error)

Types

type Action

type Action struct {
	// contains filtered or unexported fields
}

func (*Action) Apply

func (r *Action) Apply(callback interfaces2.StatefulFilter, _ *scoringResult.ScoringResult, chatID telego.ChatID, messageIDs []int64, userID int64) error

func (*Action) ApplyToMessage

func (*Action) GetName

func (r *Action) GetName() string

func (*Action) PerMessage

func (r *Action) PerMessage() bool

Jump to

Keyboard shortcuts

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