Documentation ¶
Overview ¶
Package telegram provides a very basic and simple mean to send messages to a specific target (user/channel/group) via a chatbot.
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
}
Telegram has all the required dynamic information.
func (*Telegram) Create ¶
Create initiates the Telegram Bot messenger using all the vital information provided.
func (*Telegram) SendMD ¶
SendMD sends message over to the Telegram bot. The message will be parsed using supported Markdown formatting. https://core.telegram.org/bots/api#formatting-options
func (*Telegram) SendSilent ¶
SendSilent sends message over to the Telegram bot. Sends the message silently. Users will receive a notification with no sound.
Click to show internal directories.
Click to hide internal directories.