10221
This group is for questions, answers and discussions around the python-telegram-bot library. Off-topic group: @pythontelegrambottalk | Website: https://python-telegram-bot.org
It would be great if there is some clear example on how to do that other than the one in PTB documentation example
Читать полностью…
I would like to thank community for all the answers!
Читать полностью…
hello every , please how can know if user click in webapp buttons
Читать полностью…
@loomingsorrowdescent (and whoever else cares) updated the media group example to V20
Читать полностью…
thanks for the offer. ill try and figure something out. because so much to debug =)
Читать полностью…
Hiya, any thouhts on how to test new members entering/leaving chat? do you need to setup additional TG accounts?
Читать полностью…
Ah ok sorry…where do I ask to solve this problem?
I write script with python
I want to do in my bot that I can see the id of everything both of the channel and of the group and of the ids I write script in python
Читать полностью…
Example
/info @BotFather
Errore: A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: invalid user_id specified
Hi all I want show info id in my bot example
Id info @Mr_Looker
Id bot
And
Id channels
Plz send me command for put in my script python
Know what. How to run less into flood wait errors?
Читать полностью…
Hi guys! Maybe it's already a well known problem but basically I configured that my bot send me in pvt message the exceptions if they happen.
Sometimes happens that it raises this exception:
```Python
Programs/lovelace-bot/.venv/lib/python3.11/site-packages/telegram/request/_httpxrequest.py", line 292, in do_request
raise NetworkError(f"httpx.{err.__class__.__name__}: {err}") from err
telegram.error.NetworkError: httpx.ReadError:
This API request is limited to the number of requests per day. The requests I use are often restricted and I also do delayed processing.
Читать полностью…
Yes.
It can only be completely avoided by properly configuring your concurrency handling
You write and provide the webapp, gotta learn JS or Flask/Django
Читать полностью…
Thank you! I have finally unserstand the difference!
Читать полностью…
In case everyone wonders the same, it seems this is not possible, but it possible to track update in amount of reactions though
Читать полностью…
Or just do it yourself, you should be able to leave without group getting deleted
Читать полностью…
Probably whatever library you use has a help group
Читать полностью…
This group is for asking technical questions when using the python-telgram-bot library
Читать полностью…
I gave an example on this but on any bot that does this to me or channel, tell me the right commands to put in please
Читать полностью…
I have this problem when I want show id bot or channels
Errore: A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: invalid user_id specified
Wiki of python-telegram-bot - Category Networking
Handling network errors
My need is to get the information of the specified chat
Читать полностью…
https://api.telegram.org/bot{bot_token}/getChat?chat_id={chat_id}
Читать полностью…
If you have a finite state machine, you have to process things in order
Читать полностью…
So you are saying that by using concurrent_updates(True) + CH requests will be processed in parallel, but there is a risk of the error you describe? And if the architecture is properly designed, this error can be avoided ?
Читать полностью…