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
is there a way to run the application's job_queue and nothing else?
I made a bot that just posts in a channel every day and I don't want to process updates (+ it's a bit of a pain running two instances with the same token..), so is there a way to start the job_queue without running the updater/polling/whatever?
I know I could probably just use apscheduler directly with a Bot instance, but I figured a simple substitution to application.run_polling(allowed_updates=Update.ALL_TYPES) would be faster and easier
When will Full Support for Bot API 9.4 be available on python-telegram-bot?
Please add another day😁
everytime someone asks, we will wait one day more, just out of spite
Читать полностью…
When will Full Support for Bot API 9.4 be available on python-telegram-bot? 😞
I checked the logs here https://docs.python-telegram-bot.org, but it still supports 9.3 only
Hello, how can I know from the link whether it contains a file or not?
Telegram link
import asyncio
from telegram import Update
from telegram.ext import ContextTypes
async def start(update: Update, context: ContextTypes.DEFAULT_TYPE):
words = ["Hii", "How", "Are", "You"]
message = await update.message.reply_text(words[0])
full_text = words[0]
for word in words[1:]:
await asyncio.sleep(0.5)
full_text += " " + word
await message.edit_text(full_text)
It sounds interesting
But I am unsure of any real use case except having some kind of LLM for answering which is slowly generating
It's basically to manage queries people have about donations they make or get support with issues they're having
Читать полностью…
Huh? What does the external website show, the previous conversation?
Читать полностью…
I did the PR for it 🎉 so we will release it together with the 9.4 update
Читать полностью…
Did u guys see telegram released message streaming?
Читать полностью…
Refer to this article to learn more about Userbots.
Читать полностью…
@GetEmojiIdBot
Try this , I couldn't test it before sending as idh premium
You can't parse a link with the bot API.
You can parse the website though
As the Debian maintainers say, "it's ready when it's ready"
Читать полностью…
nice way to write only 5 words long messages
Читать полностью…
Yeah its a question of rate limits and if you want the fancy animation
Читать полностью…
You are like the fifth person asking for that, what is up with this feature and people needing a demo? :D
Читать полностью…
I mean, okay, thats fun. You can probably code most of that in the browser and have a thin bot api interface just getting updates and storing them somewhere and taking send message requests from the website.
But you can also do the heavy rendering serverside, however you want
User starts a chat
Chat is added to message management site
Staff can reply to the conversations that users have initiated to continue providing support as needed
Anyone got any recommendations on methods to send a reply to a per_chat conversation as the bot via an external website?
Читать полностью…
https://docs.python-telegram-bot.org/en/stable/telegram.bot.html#telegram.Bot.send_message_draft
Читать полностью…
The Bot API has been updated to version 9.5. This update adds the iconCustomEmojiId field to the BottomButton class and also adds the ability to send streaming messages.
https://core.telegram.org/bots/api#march-1-2026
ok will try thank you!❤️
edit: works perfectly, you're the best bro