Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Telegram ¶
type Telegram struct {
// contains filtered or unexported fields
}
func NewTelegram ¶
func NewTelegram(cfg *TelegramConfig, updateChatId func(chatId int64)) (*Telegram, error)
type TelegramConfig ¶
func NewTelegramConfig ¶
func NewTelegramConfig(token string, chatId *int64) *TelegramConfig
Click to show internal directories.
Click to hide internal directories.