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

I moved this discussion to the off-topic group.

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

>>> telegram.Bot()

Hey Hinrich happy new year

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

>>> telegram.Bot()

Then it shouldn't delete them at all from my understanding

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

>>> telegram.Bot()

Cant you just run it in local mode for that?

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

>>> telegram.Bot()

And it's TON if you're doing crypto services, but if you're selling digital goods like casinos, etc., and other digital products, you should use Stars to avoid your bot being deleted.

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

>>> telegram.Bot()

Hello everybody, I am new with python and ptb, I created a bot with a button for payment. I want to know if I can open directly a crypto wallet with the payment data using a Telegram button

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

>>> telegram.Bot()

send link to download python

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

>>> telegram.Bot()

Please don't write this here.

/channel/pythontelegrambotgroup/781646

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

>>> telegram.Bot()

directly enter 'pip install'?

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

>>> telegram.Bot()

In order for someone to help you they need to know what the problem is. All you said is "bot not work". Do you expect someone else to narrow down the issue?

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

>>> telegram.Bot()

Well I found a working way

I manage the tutorial check using a fast cache system that tracks which users have completed the /start tutorial. A decorator automatically checks this cache whenever a command is used allowing /start and /help, but blocking others until completion. An auto-wrapper applies this decorator to handlers during registration, so I don’t need to add checks manually. This setup keeps the system clean, centralized, and efficient.

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

>>> telegram.Bot()

You can just make your own filter

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

>>> telegram.Bot()

This group is English only

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

>>> telegram.Bot()

I thought but then there will be multiple functions where I have to use that if else statement

later decided to use decorator (its what I am using currently)

but I was looking if is there any way I can check for a specific condition right at the beginning when the command is used

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

>>> telegram.Bot()

Rools is open-source

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

>>> telegram.Bot()

thank you for what you do

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

>>> telegram.Bot()

That is a question to Telegram, not to PTB 🙃

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

>>> telegram.Bot()

I'm running it in local mode.

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

>>> telegram.Bot()

I'm running a Telegram local bot API server on my VPS, and I know that files downloaded by the bots are cached on disk.

But why are those files deleted after just a few hours? They should at least stay on disk for a day so the bot can use the cached files.

Or Telegram should provide us with an option, like a flag, to run the server and specify how long we want to keep the cached files on the disk.

Do you guys have any solution to this problem? I want to maintain at least 24 hours of cache, or if more is possible, like a week, please tell me the solution.

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

>>> telegram.Bot()

No. Only TON which opens in app.

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

>>> telegram.Bot()

I moved this discussion to the off-topic group.

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

>>> telegram.Bot()

oh ok i got it, sorry

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

>>> telegram.Bot()

Oh, hey! There's someone new joining our awesome community of Python developers ❤️ We have compiled a list of learning resources just for you:

• As Beginner
• As Programmer
• Official Tutorial
• Dive into Python
• Learn Python
• Computer Science Circles
• MIT OpenCourse
• Hitchhiker’s Guide to Python
• The @PythonRes Telegram Channel.
• Corey Schafer videos for beginners and in general
• Project Python

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

>>> telegram.Bot()

Sure, but please read the article in the message and write your question clearly :)

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

>>> telegram.Bot()

I have a lot of timeout errors when my bot sends a video to a user.
Is there a way to fix this?

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

>>> telegram.Bot()

Yes ig that'll be the best I can do

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

>>> telegram.Bot()

Wiki of python-telegram-bot - Category Code Resources
Bots built with PTB

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

>>> telegram.Bot()

https://github.com/python-telegram-bot/rules-bot/blob/master/components/callbacks.py

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

>>> telegram.Bot()

i know . i want exactly examples

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

>>> telegram.Bot()

But why not just return out of the callback?

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