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
I haven't tested the use of premium emojis in text yet. If it works the same as before, then your bot will need additional usernames.
Читать полностью…
How can I send premium emoji in markdown?
like this
What is your estimate for the time of acceptance? around a few days, a week, or a month?
Читать полностью…
You do need to update your python libraries to get new functionality. Or what do you mean with automatically
Читать полностью…
We don't give ETAs in general. However you can already use api_kwargs if you can't wait.
Bot API Forward Compatiblity
@Death_X_02 where did you get this code from, did you run it yourself? Neither message.get_bot() exists (it would be async anyway), nor is data an attribute of bot.
Читать полностью…
Hello,
In the new update, bots can send a premium emoji with icon_custom_emoji_id, but I can't use this method in PTB. When will this be updated in the PTB?
await context.bot.send_chat_action(chat_id=update.effective_chat.id, action=ChatAction.TYPING)
Читать полностью…
Hello. Is there a way to access context within a filter? I want to create a custom filter that decides whether the message should be handled by my message handler or not based on what's inside the user's context
You need to ask the Telebot contributors.
Читать полностью…
Userbots are, after all, just MTProto clients, so if it was possible with a userbot, it would be possible with any given Telegram client
Читать полностью…
no there's a glitch by calling it from a userbot which causes this error message. definitely isn't running elsewhere and already generated new token
Читать полностью…
is there a way to fix/patch this from happening? im sure it's somebody is abusing the start cmd lol
Unhandled exception: Conflict — Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
I'm not sure, but if you need the new feature now, you can use the api_kwargs parameter to use style and icon_custom_emoji_id.
It is required, but you can now also use icon_custom_emoji_id via api_kwargs.
After the official merge is confirmed, do we need to update the PTB to the new version, or will it be added automatically?
Читать полностью…
No my bots get this error every now and then, I put it down to flaky internet connection and no wait time between next request. So while PTB already makes the next request for telegram it's not finished yet and thus a second connection appears
Читать полностью…
Hi Death X 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/RtUCIT.py. Your original message will be deleted in a minute, please reply to this message with your query.
is there a way to make the bot show the typing indicator while its busy doing something?
Читать полностью…
It's the end of the year. Our company is already on holiday. You are still working so hard to study.
Читать полностью…
Hello, do you know if the colored buttons will be implemented in Telebot?
Читать полностью…
Guys, please wait a moment. I've submitted a PR for the Bot API 9.4 update and am now waiting for the official merge.
Читать полностью…
The error message is returned by Bot API when you send a get request https://api.telegram.com/botTOKEN/getUpdate from two clients simultaneously. I don't think there's a single documented occurrence of this being possible without the token leaking or a mismanaged setup that causes the bot script to be run twice, and it would probably be a pretty severe vulnerability
Revoke your token, make sure you don't run the script twice. It's definitely not caused by commands, unless your /start command starts an exact copy of your bot with the same token