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

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

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

>>> telegram.Bot()

I'm getting this in error traceback when I close down the app

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

>>> telegram.Bot()

BotData is the bot_data dict

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

>>> telegram.Bot()

Readme of python-telegram-bot
Introduction

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

>>> telegram.Bot()

I might be able to help depending on the type of OTP bot you're looking for.

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

>>> telegram.Bot()

How do I add scrips to my bot to start using it??

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

>>> telegram.Bot()

Heres the whole code aha, incase theres something that breaks it that I haven't noticed https://pastebin.com/gG1S1rg6

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

>>> telegram.Bot()

can you pastebin the new snippet?

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

>>> telegram.Bot()

use +ApplicationBuilder+ instead of calling builder() !search

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

>>> telegram.Bot()

It doesn't seem to be being created based on the logging

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

>>> telegram.Bot()

try adding some info logging to check if persistence is actually created. you may simply be searching in the wrong place

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

>>> telegram.Bot()

You waiting >= 60 secs to verify?

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

>>> telegram.Bot()

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

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

>>> telegram.Bot()

Wiki Category Notable Features: Advanced Filters

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

>>> telegram.Bot()

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?

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

>>> telegram.Bot()

what was the problem yesterday? sorry my phone went down

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

>>> telegram.Bot()

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.

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

>>> telegram.Bot()

Does PicklePersistence attempt to copy the bot when you store BotData?

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

>>> telegram.Bot()

Hello is PTB currently supporting text rich format?

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

>>> telegram.Bot()

Wiki of python-telegram-bot - Category Must read
Tutorial: Your first bot

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

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

Who in here could help me make an otp bot please?

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

>>> telegram.Bot()

telegram.ext.ApplicationBuilder

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

>>> telegram.Bot()

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

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

>>> telegram.Bot()

import logging

…

logging.basicConfig(
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
level=logging.INFO
)

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

>>> telegram.Bot()

Yup, run it for up to 5 minutes with no file

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

>>> telegram.Bot()

https://pastebin.com/17cusBwD Pastebin of the code in question

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

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

you can see +advanced filters+ !search

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

>>> telegram.Bot()

Can u share the source code if u don't mind? maybe it will inspire us

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