pythontelegrambotgroup | Unsorted

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

7508

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

Hey. In order for someone to be able to help you, you must ask a good technical question. Please read this short article and try again ;)

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

>>> telegram.Bot()

Thanks, will read de pull request too.

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

>>> telegram.Bot()

Not with the same implementation: Avoiding flood limits

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

>>> telegram.Bot()

Ah, thank you for pointing it out

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

>>> telegram.Bot()

telegram.Update.effective_user, telegram.InlineQuery.from_user ᵀᴱᴸᴱᴳᴿᴬᴹ

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

>>> telegram.Bot()

i added this code but still same error

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

>>> telegram.Bot()

ATM Message.date is UTC. There is a pull request to make use of tzinfo set in Defaults, will be merged in the future - see #3632

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

>>> telegram.Bot()

can you say what to add there?

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

>>> telegram.Bot()

https://pastebin.com/gmFGMYEC

now?

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

>>> telegram.Bot()

🔒 A whisper message to Pokemon Master, Only he/she can open it.

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

>>> telegram.Bot()

The github project uses PTB v13, and it's deprecated/unsupported

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

>>> telegram.Bot()

Hi. I'm a bot that will announce the rules of the python-telegram-bot groups when you type /rules.

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

>>> telegram.Bot()

Hey! Rn my bot is setup to run in dms with /start, it uses the message sender user.id and just logs to a db and later just loops over each id to send alerts.

How would this be modified so that the bot can be added to any group, started with a command and grabs the id to send alerts in a similar way to dms?

I tried to add it in a group but the bot doesn’t see the command unless it’s sent directly

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

>>> telegram.Bot()

perplexity.ai just launched a chrome extension now where you can search for something in the current domain.

I just tried it with PTB, it works very well provided you mention "in v20" in all your queries

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

>>> telegram.Bot()

I think it worked for some time, but now it just waits, bot isn’t responding to messages

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

>>> telegram.Bot()

hi everyone, how do you send a bot admin to a channel and a message written to the channel automatically sent to bot users?

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

>>> telegram.Bot()

thank you so much for your help! 🥳

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

>>> telegram.Bot()

hello, python-telegram-bot has an analogue «from telebot.util import antiflood» ?
https://pytba.readthedocs.io/en/latest/util.html#telebot.util.antiflood

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

>>> telegram.Bot()

It's used in all method arguments that accept datetime objects eg ban until

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

>>> telegram.Bot()

At this time the only (i think) way Default.tzinfo is used is in job_queue

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

>>> telegram.Bot()

PullRequest #3632: Localize datetimes to defaults timezone by Trifase

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

>>> telegram.Bot()

Hi, I have a doubt about using tzinfo as a default value. What exactly change if you set one or not? I was logging update.message.date thinking it would be affected, but no, using a default value or not the date was UTC (i believe this is the normal way for Telegram)

Thanks

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

>>> telegram.Bot()

Now seems fully v13, but nothing is calling main()

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

>>> telegram.Bot()

Update.chosen_inline_result
python-telegram-bot documentation for this attribute:
telegram.Update.chosen_inline_result

Telegram's official Bot API documentation has more info about Update.

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

>>> telegram.Bot()

Your bot.py uses v13 and v20 code mixed together - it will never work

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

>>> telegram.Bot()

hi
im using https://github.com/PokemonMaster23/Mega-Link-Downloader-Bot this repo
and i filled config.py

but when i hit enter python3 bot.py nothing comes...

heres the screen recording - https://dood.yt/d/czz8y2385rza

and heres the bot.py i used - https://pastebin.com/37WQi3gM

anyone help me to solve the issue...

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

>>> telegram.Bot()

You can modify the privacy to listen to every message, but beware: you can't DM users unless they manually /starts the bot in DM first

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

>>> telegram.Bot()

Rooms in this case are objects the user chooses from. How can the bot see which one the user chose?

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

>>> telegram.Bot()

Same dude I have also started coding 5months ago and get helped from chatgpt when version 20 was not released

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

>>> telegram.Bot()

I found thanks admin

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