Sorry, the interface here isn’t ideal. You need to click “Integrações de Bate-Papo” on the left of the first screenshot. Don’t click the “settings” button
I’m not able to get chat id from my telegram channel list and from a telegram group.
I created a bot and using Chat Integration Plugin, filled its token into Discourse settings. And now I added that bot to a telegram channel list and also to a telegram group (as admin).
Also I’m confused, Am I supposed to get two different ‘chat-IDs’ from telegram? Or would I get 3, one for bot, another for channel and yet another for group?
Apologies if this is the wrong place to post, but this does appear to be broken at the moment. Installing the integration and setting up the bot goes fine however notifications never go through and chat commands never get replied to.
Querying the Telegram API for currently setup webhooks for the bot returns a webhook but without a URL so maybe that job is failing?
Heres the response form telegrams getWebhookInfo endpoint:
Edit: I manually ran DiscourseChat::Provider::TelegramProvider.setup_webhook() in the rails shell to setup the webhook and it sorta works but hooks from Telegram 404 when hitting Discourse:
Sorry for the very long delay here! I just pushed a fix which should help with these issues:
If you already have the plugin set up, you’ll need to disable and reenable the chat_integration_telegram_enabled setting for things to reconfigure correctly.