Skip to content
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

Specify Chat_ID for Telegram #757

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

saltandpurple
Copy link

Added the ability to specify a chat_id for Telegram notifications. That way you can have the bot send the notification to any channel (that he is a member of), including group chats. Increased telegram_notifier version, because I added the chat_id ability in 0.3 there.

…ations. This is useful to send notifications to group chats.
@APX403
Copy link

APX403 commented May 22, 2021

really cool feature

Copy link

@cherymann cherymann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it on my system. Works!

@fiveangle
Copy link

launches w/o error here ! but how can one actually send a notification to test ? i don't see any test framework... did I miss it ?

@saltandpurple
Copy link
Author

There's no test framework - however, starting the manager (with telegram notifications enabled) will immediately send a message ('Plot Manager has started on XYZ') to whatever chat you specified. Keep in mind that your bot will have to be a member of the channel/chat you want to notify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants