channels

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotTelegram

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

func NewBotTelegram

func NewBotTelegram(mode string, info *commons.SettingsBotInfo, database *database.Database, logger gg_log.ILogger, events *gg_events.Emitter) (instance *BotTelegram, err error)

func (*BotTelegram) AddHandler

func (instance *BotTelegram) AddHandler(handler commons.MessageHandler)

func (*BotTelegram) ClearHandlers

func (instance *BotTelegram) ClearHandlers()

func (*BotTelegram) IsDebug

func (instance *BotTelegram) IsDebug() bool

func (*BotTelegram) Name

func (instance *BotTelegram) Name() string

func (*BotTelegram) Printf

func (instance *BotTelegram) Printf(format string, v ...interface{})

func (*BotTelegram) Println

func (instance *BotTelegram) Println(v ...interface{})

func (*BotTelegram) SetHandlers

func (instance *BotTelegram) SetHandlers(handlers []commons.MessageHandler)

func (*BotTelegram) Start

func (instance *BotTelegram) Start() (err error)

func (*BotTelegram) Stop

func (instance *BotTelegram) Stop() (err error)

func (*BotTelegram) String

func (instance *BotTelegram) String() string

func (*BotTelegram) Uid

func (instance *BotTelegram) Uid() string

Jump to

Keyboard shortcuts

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