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

Feature request: Post into topics #304

Closed
ikjadoon opened this issue Feb 6, 2023 · 5 comments · Fixed by #310
Closed

Feature request: Post into topics #304

ikjadoon opened this issue Feb 6, 2023 · 5 comments · Fixed by #310

Comments

@ikjadoon
Copy link

ikjadoon commented Feb 6, 2023

Would it be possible for el_monitorro bot to post its feeds into a topic, instead of an entire group? Topics are a new group feature in Telegram that splits one group into separate topics. Ideally, el_monitorro could post its feeds into just one topic and not into the group itself.

https://codex.so/telegram-bots-in-group-topics

This link above shares some context of how bots can work with topics.

@ayrat555
Copy link
Owner

ayrat555 commented Feb 9, 2023

@ikjadoon hey. can you contract me in telegram (@ayrat555). I don't have access to topics because it requires a group to have a certain number of users.

If you give me access to a topic so I can experiment, I will add topics support.

@ikjadoon
Copy link
Author

Hello, @ayrat555! My apologies for my delay. Ah, I understand! I can invite you. However, I believe topics are now open to all users. From a group with two users, I am able to toggle Topics through "Manage Group":

image

This screenshot is from Telegram v.4.6.2 (x64). Telegram does seem to confirm the same, as of 30 Dec 2022:

image

However, if I can help invite you, I'm very happy to do so. 🙏

@ayrat555
Copy link
Owner

@ikjadoon I was not aware of it. will try to implement this weekend

@ikjadoon
Copy link
Author

@ayrat555 no problem at all. I also recently discovered the change. 🙏 Ah, that's amazing! No no, take your time. I don't mean to rush.

I already sincerely appreciate your efforts and hard work.

ayrat555 added a commit that referenced this issue Feb 18, 2023
ayrat555 added a commit that referenced this issue Feb 18, 2023
* support topics

resolves #304

* big refactoring

* save thread_id

* fix most tests

* fix remaining tests

* update deps

* fix test
@ayrat555
Copy link
Owner

@ikjadoon topics are now supported

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 a pull request may close this issue.

2 participants