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
So I worked around my issue, I think it was actually related to this issue but I managed to get to use chat data and user data instead which is probably better in any case
Читать полностью…
I'm getting this in error traceback when I close down the app
Читать полностью…
I might be able to help depending on the type of OTP bot you're looking for.
Читать полностью…
How do I add scrips to my bot to start using it??
Читать полностью…
Heres the whole code aha, incase theres something that breaks it that I haven't noticed https://pastebin.com/gG1S1rg6
Читать полностью…
use +ApplicationBuilder+ instead of calling builder() !search
Читать полностью…
It doesn't seem to be being created based on the logging
Читать полностью…
try adding some info logging to check if persistence is actually created. you may simply be searching in the wrong place
Читать полностью…
Question, does PicklePersistence create the file for storing the persisted data by default as mine doesn't seem to want to. I'm storing items in context.bot_data but it's not populating/creating the persistence files as it appears it should do
Читать полностью…
Wiki Category Notable Features: Advanced Filters
Читать полностью…
Can't we have more than one messageHandler in PTB? For example, if two messageHandlers both receive text content, how do I determine if a text belongs to the second handler?
Читать полностью…
what was the problem yesterday? sorry my phone went down
Читать полностью…
Hi Sky => EF 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/PYeK6N.py. Your original message will be deleted in a minute, please reply to this message with your query.
Does PicklePersistence attempt to copy the bot when you store BotData?
Читать полностью…
Hello is PTB currently supporting text rich format?
Читать полностью…
Wiki of python-telegram-bot - Category Must read
Tutorial: Your first 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 ;)
Читать полностью…
Who in here could help me make an otp bot please?
Читать полностью…
2026-06-24 19:09:27,254 - apscheduler.scheduler - INFO - Added job "hourly_callback" to job store "default"
2026-06-24 19:09:27,254 - apscheduler.scheduler - INFO - Scheduler started
2026-06-24 19:09:27,254 - telegram.ext.Application - INFO - Application started
import logging…
logging.basicConfig(
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
level=logging.INFO
)
Yup, run it for up to 5 minutes with no file
Читать полностью…
https://pastebin.com/17cusBwD Pastebin of the code in question
Читать полностью…
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 ;)
Читать полностью…
Can u share the source code if u don't mind? maybe it will inspire us
Читать полностью…