Skip to content

Specify Chat_ID for Telegram#757

Open
saltandpurple wants to merge 1 commit into
swar:mainfrom
saltandpurple:main
Open

Specify Chat_ID for Telegram#757
saltandpurple wants to merge 1 commit into
swar:mainfrom
saltandpurple:main

Conversation

@saltandpurple

Copy link
Copy Markdown

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

APX403 commented May 22, 2021

Copy link
Copy Markdown

really cool feature

@cherymann cherymann left a comment

Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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.

4 participants