internal/

directory
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2026 License: MIT

Directories

Path Synopsis
db
Package redact applies a best-effort scrub pass to audit content before it's persisted.
Package redact applies a best-effort scrub pass to audit content before it's persisted.
Package telegram wires up the bot: one New(deps) returns a ready-to- Start *bot.Bot with every command and callback registered.
Package telegram wires up the bot: one New(deps) returns a ready-to- Start *bot.Bot with every command and callback registered.
common
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.
deps
Package deps exposes the shared-state bag every Telegram handler receives.
Package deps exposes the shared-state bag every Telegram handler receives.
keyboards
Package keyboards holds reusable inline-keyboard builders.
Package keyboards holds reusable inline-keyboard builders.
middleware
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.
namespaces
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.
ratelimit
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.
rbac
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.
supernotify
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.
views
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL