modules

package
v0.0.0-...-bd2f27b Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatLog

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

func (*ChatLog) Evaluate

func (c *ChatLog) Evaluate(update tgbotapi.Update) bool

func (*ChatLog) Execute

func (c *ChatLog) Execute(bot *tgbotapi.BotAPI, update tgbotapi.Update)

func (*ChatLog) LoadConfig

func (c *ChatLog) LoadConfig(conf config.BotConfiguration)

func (*ChatLog) Name

func (c *ChatLog) Name() *string

type Ping

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

func (*Ping) Evaluate

func (p *Ping) Evaluate(update tgbotapi.Update) bool

func (*Ping) Execute

func (p *Ping) Execute(bot *tgbotapi.BotAPI, update tgbotapi.Update)

func (*Ping) LoadConfig

func (p *Ping) LoadConfig(conf config.BotConfiguration)

func (*Ping) Name

func (p *Ping) Name() *string

type Speak

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

func (*Speak) Evaluate

func (s *Speak) Evaluate(update tgbotapi.Update) bool

func (*Speak) Execute

func (s *Speak) Execute(bot *tgbotapi.BotAPI, update tgbotapi.Update)

func (*Speak) LoadConfig

func (s *Speak) LoadConfig(conf config.BotConfiguration)

func (*Speak) Name

func (s *Speak) Name() *string

type Weather

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

func (*Weather) Evaluate

func (w *Weather) Evaluate(update tgbotapi.Update) bool

func (*Weather) Execute

func (w *Weather) Execute(bot *tgbotapi.BotAPI, update tgbotapi.Update)

func (*Weather) LoadConfig

func (w *Weather) LoadConfig(conf config.BotConfiguration)

func (*Weather) Name

func (w *Weather) Name() *string

Jump to

Keyboard shortcuts

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