pythontelegrambotgroup | Unsorted

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

10248

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 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?

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

>>> telegram.Bot()

can you please send me some examples of bots made by experienced developers? like a middle level or something like that. I just want to know what level to aim for

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

>>> telegram.Bot()

but it'll stop the entire bot right
I wanted for a particular user

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

>>> telegram.Bot()

Can I stop updater of a mid process
like if I have x = 0
and I am checking if x == 0
I am sending a and stop updating
else I am sending b
sending c

I want just a
not a and c

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

>>> telegram.Bot()

How do I write tests for my PTB bot?

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

>>> telegram.Bot()

Wiki of python-telegram-bot - Category Design Pattern
Running PTB alongside other asyncio frameworks

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

>>> telegram.Bot()

I already have my program which is running in an asyncio.run() I just wanted to add the telegram bot with the builder but it wont let me.

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

>>> telegram.Bot()

Is there any way to run the app = ApplicationBuilder().token(").build() > app.run_polling in an existing loop?

I've tried doing it on my main file but everytime it gives the error about existing loop.

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

>>> telegram.Bot()

Hey, I think you're wrong 🧐
This is the support group of the python-telegram-bot library. If you are using a different package/language, we are sure you can find some kind of community help on their homepage. Here are a few links for other popular libraries: pyTelegramBotApi, Telepot, pyrogram, Telethon, aiogram, botogram.

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

>>> telegram.Bot()

I’m saying I wasn’t trying to be rude n I’m saying read it n think again

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

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

So
if there are 2 conv handlers going on
X and Y
and user 1 is on X
user 2 is on Y

in the same group
so will X affect the user 2 ?

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

>>> telegram.Bot()

No, it will completely stop handling that specific update

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

>>> telegram.Bot()

https://docs.python-telegram-bot.org/en/stable/telegram.ext.applicationhandlerstop.html

Maybe you can use this, if you are using conversation handlers

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

>>> telegram.Bot()

Here are some pointers: Automated Bot Tests :)

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

>>> telegram.Bot()

Ah yeah just what im looking for, thank you

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

>>> telegram.Bot()

I'm adding telegram commands for my program, easy to use yanno

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

>>> telegram.Bot()

Hey. What exactly do you want this for? This seems like an xy-problem to me.

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

>>> telegram.Bot()

I am sorry for the misunderstanding. And I truly appreciate your help

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

>>> telegram.Bot()

Hello guys. I am web developer with strong knowledge, I want to learn aiogram to manage my bots. Do you have any source of information so I can learn faster?

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

>>> telegram.Bot()

Don't forget to let us know if u find anything related to this or first to notice when it goes public!)

@Janlib you too)

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