Documentation
¶
Overview ¶
Package telegram is the Telegram adapter for botbooter: it connects via the Bot API getUpdates long-poll loop and implements core.Adapter.
Index ¶
Constants ¶
View Source
const EnvSuppressURLWarning = "BOTBOOTER_TELEGRAM_SUPPRESS_URL_WARNING"
EnvSuppressURLWarning names the environment variable that silences the plaintext-token warning
Variables ¶
This section is empty.
Functions ¶
func Client ¶
Client returns the go-telegram bot client backing b, or nil if b is not a Telegram bot.
func RawReactionUpdate ¶ added in v0.4.0
func RawReactionUpdate(r *core.Reaction) (*models.MessageReactionUpdated, bool)
RawReactionUpdate returns the raw Telegram message_reaction update carried on r, reporting whether r originated from a Telegram reaction.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.