New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add notification in Telegram #4650
Comments
I just researched doing notifications from MeshCentral into Telegram and indeed, there are libraries to do this. Looks very interesting. For example this one. So, this is not a feature currently, but seems like something I can do. |
Of course, the method of this example is in the form of a mobile number. But please add the API Key method that can receive the notification in the Telegram bot. |
I just did a first pass at enabling Telegram. I am currently using the phone method, I need to look API key. If you have any hints where I need to look, please let me know. I currently got MeshCentral sending messages from the server console, but working on adding support for users to be able to register their user handles. |
This requires the creation of a telegram bot. Not exactly what you want but it has references to creating and sending data to the bot. Seems like the logical way of sending messages. Instead of having to login to telegram as a user/number |
I am very happy. You are great @Ylianst |
Is the notification of connecting and disconnecting the device also displayed in the Telegram bot? Or are you notified only for not logging in? |
@si458 As usual you beat me to it. Yes, I was just about to say the same thing. This was not released yet. However, I just released v1.0.86 that has this feature so you can update and give it a try. Once setup, MeshCentral will only send the same messages that are sent with SMS which is not a lot (Account verification, 2FA and admin sent messages). However, if it works, I will add the option to have more notifications (device connect/disconnect, help requests, etc). I do want to add help requests to SMS anyway. For the I am going to work on documenting this Telegram feature now. |
Just added documentation on how to get Telegram setup here. |
Telegram is blocked in our country!! Is it possible to add the proxy function to the source? |
You would need to be much more specific as to what you mean by "proxy function". Note that I just added support for Discord, look here #4651. That will be in MeshCentral v1.0.91. |
Thank you. Please add the agent disconnection and connection notification |
Just added Telegram proxy support, take a look at #4697 for details. This will be in MeshCentral v1.0.95. |
I got lost too. I have been made steps till Login As Bot, in step Login As User shows that Telegram is configured, but there is no Messaging section on any user. So I don't know how to use configured Telegram notification. |
Is it possible to add this feature? It would be great to receive notifications in the Telegram bot
The text was updated successfully, but these errors were encountered: