Documentation ¶ Index ¶ type Bot func NewBot(token string, chatID int64, logger *slog.Logger) (*Bot, error) func (b *Bot) Handle(_ context.Context, e event.Event) error func (b *Bot) Start(_ context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Bot ¶ type Bot struct { // contains filtered or unexported fields } func NewBot ¶ func NewBot(token string, chatID int64, logger *slog.Logger) (*Bot, error) func (*Bot) Handle ¶ func (b *Bot) Handle(_ context.Context, e event.Event) error func (*Bot) Start ¶ func (b *Bot) Start(_ context.Context) error Source Files ¶ View all Source files telegram_bot.go telegram_event_handler.go Click to show internal directories. Click to hide internal directories.