11054
This group is for questions, answers and discussions around the python-telegram-bot library. Off-topic group: @pythontelegrambottalk | Website: https://python-telegram-bot.org
Wiki of python-telegram-bot - Category Design Pattern
Running PTB alongside other asyncio frameworks
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.
Читать полностью…
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.
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.
I’m saying I wasn’t trying to be rude n I’m saying read it n think again
Читать полностью…
LinkPreviewOptions
python-telegram-bot documentation for this class:
telegram.LinkPreviewOptions
Telegram's official Bot API documentation has more info about LinkPreviewOptions.
Really? Damn.. I though when tg announced it it meant it was public. Patiently waiting then. I was tired of editing the message in chunks with a rateLimiter xD
Читать полностью…
... You are the one who is being rude by a) ignoring rules and b) continuing this discussion. If you still want to, PM me.
Читать полностью…
Nevermind, managed to figure it out. Apparently the ID in the web app of telegram aint the same received in get_updates().
Читать полностью…
Trying to implement telegram package to a program of mine.
Is there a difference with IDs and chats/channels?
Whenever I use the ID of the group chat, the application manages to send the test message, but for the channel it fails to find it (even though its the correct one)
It just sends "Thinking" and edits the message for me
Читать полностью…
Probably some scale issue they need to solve
Читать полностью…
ily poolitzer, sorry for bothering (that’s is nothing to ask)
Читать полностью…
I'm adding telegram commands for my program, easy to use yanno
Читать полностью…
Hey. What exactly do you want this for? This seems like an xy-problem to me.
Читать полностью…
I am sorry for the misunderstanding. And I truly appreciate your help
Читать полностью…
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?
Читать полностью…
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)
Hello, is there a parameter like this that shows link previews at the top or bottom of the message?
disable_web_page_preview=TrueЧитать полностью…
I moved this discussion to the off-topic group.
Читать полностью…
Both IDs are appended with everything behind the #
-000000
Also, Telegram's own announcement of streaming and topics just directs you to the Bot API docs, which don't have any info on those features yet
Читать полностью…
Interesting why telegram is hiding it from us
Читать полностью…