Merge remote-tracking branch 'ptb/master'

# Conflicts:
#	Extensions-–-JobQueue.md
#	Transition-guide-to-Version-20.0.md
Hinrich Mahler 2022-05-06 16:55:20 +02:00
commit eec21a9a56
3 changed files with 4 additions and 1 deletions

@ -38,7 +38,8 @@ When asking how to build a specific functionality with PTB, please try to descri
### A Good Example:
> When a new user enters a group, where my bot is an admin, I would like to verify that they are not spam bots by having them fill out some kind of captcha, preferably in the private chat with the bot. If the captcha is not filled out correctly within one day, they should be banned. How can I set up something like this?
> When a new user enters a group, where my bot is an admin, I would like to verify that they are not spam bots by having them fill out some kind of captcha, preferably in the private chat with the bot. If the captcha is not filled out correctly within one day, they should be banned.
I can already send a captcha message and also check if it was filled out correctly. What I can't figure out is how to catch users joining the group and how I can set up a delayed ban.
## Questions on PTB

@ -107,6 +107,7 @@ application.run_polling()
By placing the `chat_id` in the `Job` object, the callback function knows where it should send the message.
All good things must come to an end, so when you stop the Application, the related job queue will be stopped as well.
## Persistent Job Queues

@ -2,6 +2,7 @@ Look at [[Hosting your bot|Hosting-your-bot]] if you've decided to get a server.
### Cloud
* [Amazon Web Services](https://aws.amazon.com/)
* [Running a Python Telegram Bot on AWS Serverless](https://github.com/jojo786/Sample-Python-Telegram-Bot-AWS-Serverless)
* [Microsoft Azure](https://azure.microsoft.com/)
* [Google App Engine](https://cloud.google.com/appengine)
* [[Notes about GAE - Google App Engine]]