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()

But it's a group message, and it's useful for everyone

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

>>> telegram.Bot()

query.answer(text, show_alert = True)

Does it bring any flooding issue? For example, if someone clicks on the button 1000 times in a minute, what happens? Who's getting restricted? The bot or the user?

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

>>> telegram.Bot()

And Threaded Mode can only be found when when the App.

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

>>> telegram.Bot()

"This" in the message you're replying to means the python-telegram-bot library, which *can't* be used for userbots

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

>>> telegram.Bot()

its not even showing any updates in log

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

>>> telegram.Bot()

Your name is perfect

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

>>> telegram.Bot()

Hi everyone. I'd like to clarify: I know that there's read_file_handle inside InputFile, but is it possible to use InputFile inside InputMedia*? I tried doing it like this: https://pastebin.com/wx0Lt0kv

But that didn't work, I got BadRequest: Can't parse inputmedia: media not found. I can provide minimal working example of what I tried, if needed.

Ultimately, I wanted to find out: is there a way to stream files inside MediaGroup from disk without loading them completely in memory?

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

>>> telegram.Bot()

ohh what the heck I didnt know that

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

>>> telegram.Bot()

I think PTB comes with some for APScheduler or so

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

>>> telegram.Bot()

I want to ask if the same group can send 1000/s

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

>>> telegram.Bot()

Do you recommend any libraries for job schedulers?

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

>>> telegram.Bot()

Can the same group exceed 1000/s

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

>>> telegram.Bot()

First you should find out if you are doing anything like a continuous broadcasting of messages.

Did you observe any patterns when this error comes?

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

>>> telegram.Bot()

Readme of python-telegram-bot
Resources

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

>>> telegram.Bot()

Wiki of python-telegram-bot - Category Notable Features
Avoiding flood limits

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

>>> telegram.Bot()

A good idea is to delete the button after user clicks

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

>>> telegram.Bot()

On BotFather, click on Open App

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

>>> telegram.Bot()

Thanks so much, thats what worked. Threaded Mode can only be activated in https://web.telegram.org/a/#93372553 with Bot Father. Now drafts are being sent.

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

>>> telegram.Bot()

My fault for not redirecting to the off-topic group sooner tbh

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

>>> telegram.Bot()

why my bot ain't responding to any message after flood error

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

>>> telegram.Bot()

Anyone in touch of any bank manager or bank manager himself?
Please message me

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

>>> telegram.Bot()

Hi 『 ████ 』 Please post code or tracebacks using a pastebin rather than via plain text or a picture. https://pastebin.com/ is quite popular, but there are many alternatives out there. Of course, for very short snippets, text is fine. Please at least format it as monospace in that case., we like to keep our groups readable and thus require long code to be in a pastebin.

⚠️ The code snippet(s) in your message have been moved to https://pastebin.poolitzer.eu/p/wCigXg.py. Your original message will be deleted in a minute, please reply to this message with your query.

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

>>> telegram.Bot()

ext.JobQueue.scheduler
python-telegram-bot documentation for this attribute:
telegram.ext.JobQueue.scheduler

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

>>> telegram.Bot()

or anything in general, I wanted to add a feature to my telegram bot where I can get the bot to send a message at midnight everyday or 10pm everyday, etc.

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

>>> telegram.Bot()

Just a second between the codes ?

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

>>> telegram.Bot()

Then a simple solution would be to use job scheduler to send a message every 1s, if you are broadcasting.

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

>>> telegram.Bot()

when my bot send messages in grouop

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

>>> telegram.Bot()

With Bot API 7.1 (PTB v27.1), Telegram introduced the parameter allow_paid_broadcast. This allows bots to send up to 1000 messages per second by paying a fee in Telegram Stars.

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

>>> telegram.Bot()

yes i did but i failed to understand what does it say

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

>>> telegram.Bot()

telegram.error.RetryAfter: Flood control exceeded. Retry in 10 seconds

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