telegram

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

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

func NewTelegramBot

func NewTelegramBot(botEngine *engine.BotEngine, token string, cfg *config.Config) (*Bot, error)

func (*Bot) Start

func (bot *Bot) Start() error

func (*Bot) Stop

func (bot *Bot) Stop()

type BotContext

type BotContext struct {
	Commands []string
}

Jump to

Keyboard shortcuts

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