internal

package
v0.0.0-...-aae7126 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBot

func NewBot() *zhkBot

Types

type Command

type Command interface {
	Exec(update *tgbotapi.Update) (tgbotapi.MessageConfig, bool)
}

type CommandCreator

type CommandCreator interface {
	BotCommand() tgbotapi.BotCommand
	Create() Command
}

Jump to

Keyboard shortcuts

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