10206
This group is for questions, answers and discussions around the python-telegram-bot library. Off-topic group: @pythontelegrambottalk | Website: https://python-telegram-bot.org
Wiki of python-telegram-bot - Category Must read
Tutorial: Your first bot
Wiki of python-telegram-bot - Category Notable Features
Bot API Forward Compatiblity
Sorry, I meant the deserialization from JSON and so on. The reafactoring you are doing in the library.
Читать полностью…
We want to focus in an extensive in depth library change before that
Читать полностью…
Does anyone have the code for creating a moderator bot?
Читать полностью…
We have a ptbcontrib repo if you want to contribuite to the community
Читать полностью…
apparently it was only sent to winners of a few contests, it's not public yet
Читать полностью…
Well instead of the recative one, where a user likely is still looking at that specific client, the other one needs to be send to any in the hope it reaches a user and they actually look at it before it vanishes
Читать полностью…
You mean build the rich api's directly with the telegram APIs? bypassing PTB?
Читать полностью…
You can already use it with the forward api compatibility
Читать полностью…
Couldn't we first ship the rich text feature? I mean we are dying to see what we can do with it
Читать полностью…
I saw, I spent a bit of time taking a look yesterday in the repo and noticed you guys were working on the model rewriting. Good luck! I will keep an eye there
Читать полностью…
How To Contribute
python-telegram-bot documentation for this doc:
contributing
Any update on when the 10.2 update will be ready? Do you guys need a hand with something?
Читать полностью…
Thanks! I'll definitely check out ptbcontrib once I modularize this a bit more.
Читать полностью…
Hi! I had this exact issue, so I built a mini-framework for my own PTB projects. It has Postgres/Redis adapters, repository pattern, and a throttling middleware. It's fully modular, so you can easily add your own middlewares or repos to it.
I keep it in a private repo. If you want access to it, hit me up in DMs.
I couldn't find any official announcements for this. Is it sth new?
Читать полностью…
Sometimes telegram is slow at replying so the pool connection get saturated, and it raises the error that the connection pool is full.
How are you dealing with that?
Oh, does not vanish at view, but after a bit of time?
Читать полностью…
No. PTB only provides an interface to build your own rate limiter and a minimal effort implementation of it, and you have to explicitly include it in your Application for it to take effect. Said minimal effort implementation does have a kwarg that allows you to specify the number of retries after getting a RetryAfter error, but even that defaults to 0 (no retries)
"In this case, the message may be delivered across multiple active client applications of the user, but is regardless not guaranteed to be delivered to any of them."
Читать полностью…