Documentation ¶
Index ¶
- type BotTelegram
- func (instance *BotTelegram) AddHandler(handler commons.MessageHandler)
- func (instance *BotTelegram) ClearHandlers()
- func (instance *BotTelegram) IsDebug() bool
- func (instance *BotTelegram) Name() string
- func (instance *BotTelegram) Printf(format string, v ...interface{})
- func (instance *BotTelegram) Println(v ...interface{})
- func (instance *BotTelegram) SetHandlers(handlers []commons.MessageHandler)
- func (instance *BotTelegram) Start() (err error)
- func (instance *BotTelegram) Stop() (err error)
- func (instance *BotTelegram) String() string
- func (instance *BotTelegram) Uid() string
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 (*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
Click to show internal directories.
Click to hide internal directories.