Versions in this module Expand all Collapse all v1 v1.0.0 May 7, 2024 Changes in this version + func Bot(cfg BotConfig) (*telego.Bot, error) + func BotHandler(ctx context.Context, bot *telego.Bot, updates <-chan telego.Update) (*th.BotHandler, error) + func Webhook(ctx context.Context, cfg WebhookConfig, bot *telego.Bot) (<-chan telego.Update, error) + type BotConfig struct + BotToken string + type WebhookConfig struct + BotToken string + WebhookURL url.URL + func (w WebhookConfig) LogValue() slog.Value