bot

package
v0.0.0-...-b6f6567 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func HandleHelpCommand

func HandleHelpCommand(c tele.Context) error

Types

type BotConfig

type BotConfig struct {
	// Telegram bot token
	TelegramBotToken string `env:"TELEGRAM_BOT_TOKEN" required:"true"`

	// whitelist (chat ID)
	Whitelist []int64 `env:"BOT_WHITELIST"`
}

type VISAService

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

func NewVISAService

func NewVISAService() *VISAService

func (*VISAService) Handle

func (s *VISAService) Handle(c tele.Context) error

Jump to

Keyboard shortcuts

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