-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
The webhook is receiving 'message' events even though I'm not subscribed to them. I tested the bot with allowed_updates: ["message"], then deleted the webhook via the API and code, and even reissued the bot token (this helped someone else, but not me).
useFactory: async (config: ConfigService) => {
const bot = new TelegramBot(config.get("BOT_TOKEN"));
await bot.setWebHook(`${config.get("BASE_URL")}/api/v1/bot/webhook`, {
allowed_updates: ["my_chat_member"],
secret_token: config.get("WEBHOOK_SECRET_TOKEN")
});
return bot;
}
Metadata
Metadata
Assignees
Labels
No labels