Sitelet https://web.archive.org/web/20201210054300/https://github.com/pyrogram/pyrogram/issues/407
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

New Features 🎊 #407

Open
josh8tg opened this issue May 16, 2020 · 1 comment
Open

New Features 🎊 #407

josh8tg opened this issue May 16, 2020 · 1 comment

Comments

@josh8tg
Copy link

@josh8tg josh8tg commented May 16, 2020 •

Checklist

  • [ βœ… ] I believe the idea is awesome and would benefit the library.
  • [ βœ… ] I have searched in the issue tracker for similar requests, including closed ones.

Description

1️⃣ - Filters :

1- For Animated Emojis :

- Filters.dice
- Filters.dart
- Filters.basket
- or Filters.emojis for all of it in one filter

2- Filters.reply_to(user)
3- Filters.callback_regex()
4- Filters.inline_regex()
5- Filters.url()

or just make Filters.regex() support all types of updates

2️⃣ - Helpers :

1- Rate Limit :

Client.set_rate_limit(messages, seconds)
@client.on_message(..., rate_limit=(3,1)) # 3 messages per second

2- Conversation :

Chat.listen # wait for a reply from the user you can see pyromod
Chat.ask #same of above but sending a message before

3️⃣ - Others :

1- Get info about the voters in polls
2- Complete support to channel posts
3- All Bot API's Inline Result types (and some more)
4- Refactored async core, so you can host thousands of bots using a single process without using a lot of resources

πŸ˜† Copyrights

@zeroone2numeral2
Copy link
Contributor

@zeroone2numeral2 zeroone2numeral2 commented May 18, 2020

Wouldn't it be better if all these suggestions had their own issues? It would be a mess to discuss each one opf them in the same github issue - plus also referencing them in pull requests/commits/other issues would be much cleaner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.