Noizu.Telegram (Noizu Telegram v0.1.0)

Copy Markdown View Source

Telegram Bot API client (https://api.telegram.org/bot<token>/<method>).

Entry points:

modulepurpose
Noizu.Telegram.Botget_me/0
Noizu.Telegram.Messagessend_message / send_photo / send_document / edit_message_text / delete_message
Noizu.Telegram.Updatesget_updates/1
Noizu.Telegram.Webhookset / delete / valid_secret?
Noizu.Telegram.Markdownescape_v2/1 (MarkdownV2)
Noizu.Telegram.Paginationoffset-based update streaming
Noizu.Telegram.Clienttoken + base-url struct
Noizu.Telegram.RequestReq engine, bounded retry, token redaction
Noizu.Telegram.Errorerror 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

client(opts \\ [])

@spec client(keyword()) :: Noizu.Telegram.Client.t()

Default client built from env / app env config.