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 cant for some reason (spamblock probably)

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

>>> telegram.Bot()

No ad. Service not have payments. I am developer

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

>>> telegram.Bot()

Hi people. You can monitor telegram bots and others with pingzen.dev .If you want improve something in that service - you can write me directly

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

>>> telegram.Bot()

Why does the bot connect to the local API, and the API connects to Telegram, right? So if I have the bot on two servers in different countries, using both the local API and webhooks, should it work normally?

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

>>> telegram.Bot()

Not exactly, doesn't the local Telegram API already use the webhook method?
But if this isn't the right place for the question, you can leave it.

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

>>> telegram.Bot()

I'm a bit confused about using (start_webhook, run_webhook) when using the Telegram local API. I've read a lot of documentation and it's still not clear to me, does anyone have any opinions?

When using the Telegram local API, does it matter whether you use start_webhook or start_pooling?

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

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

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

Hi Jasurbek Yuldoshov 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.

⚠️ Your message has been moved to https://pastebin.poolitzer.eu/p/gtYxz9.py. Your original message will be deleted in a minute, please reply to this message with your query.

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

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

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

Cool thank you, I always forget to ensure they're in separate groups so I thought I may have been doing something wrong

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

>>> telegram.Bot()

what is the right approach for multiple message handlers? Should you just always use unique group=XX in the handler or is there a better approach to stop them blocking eachother?

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

>>> telegram.Bot()

Hello there, @coolheads. You are writing your job offer in our technical focused groups, which is against our rules. To find a bot developer, please look at agencies dedicated towards freelancers. An example of those would be https://fiverr.com, which we are not associated with.

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

>>> telegram.Bot()

Guys, does anyone know how to change the color of the inline button and the reply button?

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

>>> telegram.Bot()

How is this not literally an advertisement?

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

>>> telegram.Bot()

Off-topic and sounds like an ad :)

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

>>> telegram.Bot()

Hi everyone
Ì have written a code for mafia game
But there is a problem with the handlers.
The private votes or action of users are not send to the main group.
Does anyones knows a good python code fo mafia game?

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

>>> telegram.Bot()

No its fine. The local Telegram API doesn't use any method already

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

>>> telegram.Bot()

Is the question about polling/webhook? Or about different webhook methods?

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

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

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

Hello everyone! Please give me a link to the official bot

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

>>> telegram.Bot()

pip install python-telegram-bot==20.7

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

>>> telegram.Bot()

Hello everyone
I have a multi-bot platform built with Python (aiogram 3.x). There is a parent bot that manages multiple child bots — users connect their bots to the platform by submitting a token.
Problem 1: When a user submits a new token, the child bot gets saved to the database but does not start polling — it never becomes active until the server is manually restarted.
Problem 2: When the server restarts, all child bots that were previously saved in the database do not start polling either — only the parent bot starts properly.
The architecture is:
One parent bot (dp dispatcher) handles user interactions
Multiple child bots share a single bola_dp dispatcher with userbots_router
Child bots are stored in active_bots: dict[int, asyncio.Task] and active_bot_objects: dict[int, Bot]
Each child bot is launched via asyncio.create_task(bola_dp.start_polling(bot, handle_signals=False))
What I've tried:
Added handle_signals=False to start_polling
Tried creating a separate Dispatcher per child bot — but aiogram throws Router is already attached error
The terminal shows "✅ Bot started" for all child bots, but only the first child bot actually gets a polling log — the rest are silently ignored
Looking for the correct way to run multiple bots on a single dispatcher in aiogram 3.x, or an alternative architecture that works.

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

>>> telegram.Bot()

I wanna create a telegram bot with phdroiad 3 in my phone it's working that bot thing that I wanted it wasn't it what should I do

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

>>> telegram.Bot()

No thats how I would do it.

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

>>> telegram.Bot()

Just try it out.

Not sure what it is or how exactly it works, but just try to install it and find out if it works.

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

>>> telegram.Bot()

https://docs.python-telegram-bot.org/en/stable/telegram.inlinekeyboardbutton.html#telegram.InlineKeyboardButton.style

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

>>> telegram.Bot()

https://github.com/python-telegram-bot/python-telegram-bot/wiki/Bot-API-Forward-Compatibility

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