Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(chatId, token string) api.AlertSender
Types ¶
type TelegramMessage ¶
type TelegramMessage struct {
ChatID string `json:"chat_id"`
Text string `json:"text"`
ParseMode string `json:"parse_mode"`
}
TelegramMessage represents the structure for sending messages to Telegram Bot API
Click to show internal directories.
Click to hide internal directories.