Skip to content

Support Telegram topics for module and returner#68771

Open
hatamiarash7 wants to merge 4 commits intosaltstack:3007.xfrom
hatamiarash7:3007.x
Open

Support Telegram topics for module and returner#68771
hatamiarash7 wants to merge 4 commits intosaltstack:3007.xfrom
hatamiarash7:3007.x

Conversation

@hatamiarash7
Copy link

What does this PR do?

If we use different topics in a Telegram group, there will be no ability to send messages in specific topics. This is the case for modules and returners. In order for the user to be able to do this, the thread_id of that topic must be defined.

This PR will add the ability to detect and use this value to use Telegram threads in the project.

What issues does this PR fix or reference?

Fixes #68770

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

@hatamiarash7 hatamiarash7 requested a review from a team as a code owner February 25, 2026 17:26
@welcome
Copy link

welcome bot commented Feb 25, 2026

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here's some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at saltproject.pdl@broadcom.com. We're glad you've joined our community and look forward to doing awesome things with you!

@hatamiarash7 hatamiarash7 changed the base branch from master to 3007.x February 25, 2026 17:27
Copy link
Contributor

@twangboy twangboy left a comment

Choose a reason for hiding this comment

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

Please write some tests for these

@hatamiarash7
Copy link
Author

hatamiarash7 commented Feb 26, 2026

Done. Tests added/updated to cover the thread_id field.

@twangboy twangboy added the test:full Run the full test suite label Feb 26, 2026
@twangboy twangboy added this to the Chlorine v3007.14 milestone Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Support Telegram Topics

2 participants