Versions in this module Expand all Collapse all v0 v0.1.1 Nov 6, 2023 v0.1.0 Nov 5, 2023 Changes in this version + type Bot struct + func NewBot(name string, sender Sender, sessionProvider chat.SessionProvider, model string, ...) *Bot + func (b *Bot) IsUserAdmin(userID int64) bool + func (b *Bot) IsUserAllowed(userID int64) bool + func (b *Bot) ProcessUpdates(ctx context.Context, updates tgbotapi.UpdatesChannel) error + func (b *Bot) Reply(to *tgbotapi.Message, with string) + func (b *Bot) Send(chat int64, message string) + func (b *Bot) Typing(ctx context.Context, chatID int64) + type Sender interface + Request func(c tgbotapi.Chattable) (*tgbotapi.APIResponse, error) + Send func(c tgbotapi.Chattable) (tgbotapi.Message, error)