10327
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 it necessary to disable privacy mode? All staff worked fine before. . .
Читать полностью…
Did you disable privacy mode between adding the bot to chat1 and chat 2?
Читать полностью…
i see, apscheduler it is then, thanks anyway
Читать полностью…
We sadly start the job queue and the update_queue in the same application start call. So no easy way unless you hack into the library.
Читать полностью…
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
Wiki of python-telegram-bot - Category FAQ
What messages can my Bot see?
Bot worked, but after restart stopped. In this only chat
Читать полностью…
Hi! Why my bot does not see commands from specific chat (simple echo command)? In private chat works nice, but from chat1 no events. From another chat2 command events working
Читать полностью…
that just added an extra newline to prettify the message
Читать полностью…
That's how they introduced the third paragraph indeed
Читать полностью…
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?
Читать полностью…