Telegram Bot API client (https://api.telegram.org/bot<token>/<method>).
Entry points:
| module | purpose |
|---|---|
Noizu.Telegram.Bot | get_me/0 |
Noizu.Telegram.Messages | send_message / send_photo / send_document / edit_message_text / delete_message |
Noizu.Telegram.Updates | get_updates/1 |
Noizu.Telegram.Webhook | set / delete / valid_secret? |
Noizu.Telegram.Markdown | escape_v2/1 (MarkdownV2) |
Noizu.Telegram.Pagination | offset-based update streaming |
Noizu.Telegram.Client | token + base-url struct |
Noizu.Telegram.Request | Req engine, bounded retry, token redaction |
Noizu.Telegram.Error | error struct (retry_after from 429) |
The default client reads TELEGRAM_BOT_TOKEN; any call accepts
client: %Noizu.Telegram.Client{} to override.
Summary
Functions
Default client built from env / app env config.
Functions
@spec client(keyword()) :: Noizu.Telegram.Client.t()
Default client built from env / app env config.