pythontelegrambotgroup | Unsorted

Telegram-канал pythontelegrambotgroup - >>> telegram.Bot()

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

Subscribe to a channel

>>> telegram.Bot()

Thanks! I'll definitely check out ptbcontrib once I modularize this a bit more.

Читать полностью…

>>> telegram.Bot()

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.

Читать полностью…

>>> telegram.Bot()

I can't be friends with you, why?

Читать полностью…

>>> telegram.Bot()

I couldn't find any official announcements for this. Is it sth new?

Читать полностью…

>>> telegram.Bot()

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?

Читать полностью…

>>> telegram.Bot()

Oh, does not vanish at view, but after a bit of time?

Читать полностью…

>>> telegram.Bot()

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)

Читать полностью…

>>> telegram.Bot()

"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."

Читать полностью…

>>> telegram.Bot()

I wonder what this means: "It is not guaranteed that the ephemeral message will be received, especially if the user is offline."

Читать полностью…

>>> telegram.Bot()

No in groups where they are admins, they can just send them

Читать полностью…

>>> telegram.Bot()

They literally implemented them

Читать полностью…

>>> telegram.Bot()

Telegram don't want this type of messages

Читать полностью…

>>> telegram.Bot()

Can you please help me?

Читать полностью…

>>> telegram.Bot()

Wiki of python-telegram-bot - Category Notable Features
Bot API Forward Compatiblity

Читать полностью…

>>> telegram.Bot()

When will ptb support Ephemeral Messages ?

Читать полностью…

>>> telegram.Bot()

We have a ptbcontrib repo if you want to contribuite to the community

Читать полностью…

>>> telegram.Bot()

Ohk, so we have to do that. understood

Читать полностью…

>>> telegram.Bot()

apparently it was only sent to winners of a few contests, it's not public yet

Читать полностью…

>>> telegram.Bot()

scale up or throttle down

Читать полностью…

>>> telegram.Bot()

Thats my understanding

Читать полностью…

>>> telegram.Bot()

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

Читать полностью…

>>> telegram.Bot()

This i bonkers, what does it meeeean

Читать полностью…

>>> telegram.Bot()

That they might get it, might not. Percentages aren't clear

Читать полностью…

>>> telegram.Bot()

I think if bot hit the rate limits, then PTB retry sending it ? Isn't that written in docs ? Or something else they mean here - https://github.com/python-telegram-bot/python-telegram-bot/wiki/Avoiding-flood-limits#ptbs-rate-limiting-mechanism

Читать полностью…

>>> telegram.Bot()

But only when user interact with bot

Читать полностью…

>>> telegram.Bot()

They say disappearing message can be risky for safety reasons

Читать полностью…

>>> telegram.Bot()

In the future for sure

Читать полностью…

>>> telegram.Bot()

It is already supported for interactions message but not 1st hand due to privacy and safety concern 😕

Читать полностью…

>>> telegram.Bot()

We don't give out ETAs but you can use our forward API

Читать полностью…

>>> telegram.Bot()

Do we have to develop our own counter ?

Читать полностью…
Subscribe to a channel