Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TelegramClient ¶
type TelegramClient struct { BotToken string `json:"botToken"` ChatId int64 `json:"chatId"` BotApi *tgbotapi.BotAPI `json:"botApi"` }
func InitTelegramClient ¶
func InitTelegramClient(botToken string, chatId int64) (*TelegramClient, error)
func (*TelegramClient) SendMarkdownMessage ¶
func (tg *TelegramClient) SendMarkdownMessage(message string) error
Click to show internal directories.
Click to hide internal directories.