Posted September 29, 20231 yr comment_81 Telegram Notifications Telegram Notifications application is intended for users to receive instant notifications in Telegram on all Invision Community events: Achievements, Moderation, Mentions & My Content, Followed Content, Messenger, Profile, Newsletter, Event Reminders, File Updates.You can configure which groups will be able to set up notifications in Telegram for themselves, as well as which types of notifications will be enabled / disabled by default. Информация Submitter Kirill Gromov Submitted 02.09.2023 Category Applications Просмотр файла
February 27Feb 27 comment_347 Hi, could you give to that add on a litte improvement more? Currently when a topic receive replies the Telegram bot send the chat notification, but all that notifications messages contain the same format and content...that messages don´t provide a insith view which is the content of that notification....Then we just receive the exactly notifications repeatly and can´t see their differences of messages Could you made it showing the replies messages instead only show the first post of the topic? something similar to the email notification, from that notification we can see what about is the notification...
February 27Feb 27 Author comment_348 45 minutes ago, kmk said: Hi, could you give to that add on a litte improvement more? Currently when a topic receive replies the Telegram bot send the chat notification, but all that notifications messages contain the same format and content...that messages don´t provide a insith view which is the content of that notification....Then we just receive the exactly notifications repeatly and can´t see their differences of messages Could you made it showing the replies messages instead only show the first post of the topic? something similar to the email notification, from that notification we can see what about is the notification... Hello. Sure, we are improving it for IPS 5
Monday at 08:38 AM3 days comment_673 Hello,I have a problem, the telegram bot didn't send anything to telegram users accounts.Is there any problem if I use the same bot for Telegram Login Handler application? For example, the login app its works fine.i made these steps:I am logged into the forum with my email account.In ACP>Community>Telegram>Settings, I set up bot name and the API key (its same like Login Handler app), add set up access for certain groups. (no guests)In ACP>Community>Telegram>Notifications, I enabled all NotificationsIn Notifications setting i set up my TG username and saved.Notifications seems activated:In Telegram, my bot, i edit settings and i add command /startbut there is not feedback.What did I forget to do?Thanks for any tips to help
Monday at 08:57 AM3 days Author comment_675 Hello. Full instruction:Creating a bot in TelegramIn the Telegram client, find the BotFather bot and send it the "/start" command, after which the bot will send you all possible commands to communicate with it. To create a new bot, we need the command "/newbot", then follow the further instructions and specify the name. After the bot is created, you will be shown the API in the Use this token to access the HTTP API line: It must be specified in the settings in the Admin center> Community> Telegram> Settings API token of your Telegram bot.In the Bot name field, enter the name of the bot.Installing the webhookFor the bot to send notifications, you need to set up a web hook. To do this, compose a URL and navigate to it in your browser:https://api.telegram.org/bot{BOT_API}/setWebhook?url=https://{SITE_URL}/?app=telegram&module=telegram&controller=telegramAfter that, the screen should display approximately the following information:{"ok": true, "result": true, "description": "Webhook was set"}Configuring notificationsNotification options are enabled in the app, but not activated for all users at once. Therefore, you can make each notification event not as a suggested option, but enabled by default for all users.Each user will receive a notification on Telegram if two conditions are met:Enabled parameter in notification settings (/notifications/options/).The user's nickname is indicated in "Your nickname in Telegram" on the same page.
Monday at 08:58 AM3 days Author comment_676 Webhook url must be url encoded, example":https%3A%2F%2Finvisiondevs.com%2Findex.php%3Fapp%3Dtelegram%26module%3Dtelegram%26controller%3Dtelegram
Monday at 11:16 AM2 days comment_677 i made all steps,the response for webhook was:{"ok":true,"result":true,"description":"Webhook was set"} then i saw in System Logs:and this: but my telegram username is added in notifications settings. What should I check now?
Monday at 05:42 PM2 days Author comment_679 Hello. Can you check this url?https://api.telegram.org/bot{YOURAPIKEY}/getWebhookInfo
Monday at 07:04 PM2 days comment_680 {"ok":true,"result":{"url":"https://mysite/?app=telegram","has_custom_certificate":false,"pending_update_count":6,"last_error_date":1731956602,"last_error_message":"Wrong response from the webhook: 404 Not Found","max_connections":40,"ip_address":"9x.26.41.227"}}
Monday at 07:15 PM2 days Author comment_681 This is an incorrect URL, you did not encode it as indicated in the instruction!
Monday at 08:28 PM2 days comment_682 11 hours ago, Kirill Gromov said:Webhook url must be url encoded, example":is it about this step? i didn't understand it :(Can you help please?
Monday at 08:39 PM2 days comment_683 Solved!!!https://api.telegram.org/botmyAPI/setWebhook?url=https%3A%2F%2Fmysite%2F%3Fapp%3Dtelegram%26module%3Dtelegram%26controller%3Dtelegram
Monday at 09:02 PM2 days comment_684 3 hours ago, Kirill Gromov said:Hello. Can you check this url?https://api.telegram.org/bot{YOURAPIKEY}/getWebhookInfosomehow still a problem. i check again the url and its said:{"ok":true,"result":{"url":"https://mysite/?app=telegram&module=telegram&controller=telegram","has_custom_certificate":false,"pending_update_count":0,"max_connections":40,"ip_address":"9x.26.41.227"}}
Tuesday at 04:51 AM2 days Author comment_687 Now the URL is correct and if you write the /start command to the bot, it will send a message!
Tuesday at 07:49 AM2 days comment_688 I received the notification in telegrambut the logs show a problemI dont know what else to try
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.