commands

package
v0.0.0-...-da4b286 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandData

type CommandData struct {
	Offset int `json:"offset"`
}

type Commander

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

func NewCommander

func NewCommander(bot *tgbotapi.BotAPI, productService *product.Service) *Commander

func (*Commander) Default

func (c *Commander) Default(message *tgbotapi.Message)

func (*Commander) Get

func (c *Commander) Get(message *tgbotapi.Message)

func (*Commander) HandleUpdate

func (c *Commander) HandleUpdate(update tgbotapi.Update)

func (*Commander) Help

func (c *Commander) Help(message *tgbotapi.Message)

func (*Commander) List

func (c *Commander) List(message *tgbotapi.Message)

func (*Commander) Love

func (c *Commander) Love(message *tgbotapi.Message)

Jump to

Keyboard shortcuts

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