Maxim

Results 3 comments of Maxim

I have the same problem, but I do through: const allowed = ["chat_member", "message", "my_chat_member"]; ``` export const bot = new TelegramApi( process.env.TG_KEY, { polling: { allowed_updates: allowed, } });...

Update! ``` export const bot = new TelegramApi( process.env.TG_KEY, { polling: { params: { allowed_updates: JSON.stringify(allowed), } } }); ``` **JSON.stringify** - fix this problem!