Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TelegramBot ¶
type TelegramBot struct {
// contains filtered or unexported fields
}
func NewTelegramBot ¶
func NewTelegramBot(apiKey string) TelegramBot
func (*TelegramBot) Debug ¶
func (tb *TelegramBot) Debug(val bool)
func (*TelegramBot) GetUpdates ¶
func (tb *TelegramBot) GetUpdates() (tgbotapi.UpdatesChannel, error)
func (*TelegramBot) IsWorking ¶
func (tb *TelegramBot) IsWorking() bool
func (*TelegramBot) SendError ¶
func (tb *TelegramBot) SendError(message string, chatId string)
func (*TelegramBot) SendMessage ¶
func (tb *TelegramBot) SendMessage(message string, chat string)
Click to show internal directories.
Click to hide internal directories.