Documentation
¶
Overview ¶
Package telegram wires up the bot: one New(deps) returns a ready-to- Start *bot.Bot with every command and callback registered.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package common holds small stateless helpers used by most handlers: reply shortcuts, callback-message introspection, and string utilities.
|
Package common holds small stateless helpers used by most handlers: reply shortcuts, callback-message introspection, and string utilities. |
|
Package deps exposes the shared-state bag every Telegram handler receives.
|
Package deps exposes the shared-state bag every Telegram handler receives. |
|
Package keyboards holds reusable inline-keyboard builders.
|
Package keyboards holds reusable inline-keyboard builders. |
|
Package middleware exposes the two wrappers that gate every handler: WrapText for message-text handlers and WrapCallback for callback queries.
|
Package middleware exposes the two wrappers that gate every handler: WrapText for message-text handlers and WrapCallback for callback queries. |
|
Package namespaces defines every callback-data namespace and action used by the Telegram bot.
|
Package namespaces defines every callback-data namespace and action used by the Telegram bot. |
|
Package ratelimit provides a per-key token-bucket rate limiter used to cap how fast any single Telegram user can drive the bot.
|
Package ratelimit provides a per-key token-bucket rate limiter used to cap how fast any single Telegram user can drive the bot. |
|
Package rbac holds permission predicates used by Telegram handlers to decide which buttons to show and to re-verify at click time.
|
Package rbac holds permission predicates used by Telegram handlers to decide which buttons to show and to re-verify at click time. |
|
Package supernotify DMs the super + the actor's direct promoter for user-lifecycle events (promote / demote / add / remove / ban) with inline quick-action buttons.
|
Package supernotify DMs the super + the actor's direct promoter for user-lifecycle events (promote / demote / add / remove / ban) with inline quick-action buttons. |
|
Package views builds reusable Telegram-facing payloads — button labels, profile cards, candidate lists.
|
Package views builds reusable Telegram-facing payloads — button labels, profile cards, candidate lists. |
Click to show internal directories.
Click to hide internal directories.