pythontelegrambotgroup | Unsorted

Telegram-канал pythontelegrambotgroup - >>> telegram.Bot()

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

Subscribe to a channel

>>> telegram.Bot()

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.

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

>>> telegram.Bot()

Yes, I have
I want to send via bot

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

>>> telegram.Bot()

How can I send premium emoji in markdown?
like this
![👍](tg://emoji?id=5368324170671202286)

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

>>> telegram.Bot()

What is your estimate for the time of acceptance? around a few days, a week, or a month?

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

>>> telegram.Bot()

You do need to update your python libraries to get new functionality. Or what do you mean with automatically

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

>>> telegram.Bot()

We don't give ETAs in general. However you can already use api_kwargs if you can't wait.

Bot API Forward Compatiblity

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

>>> telegram.Bot()

@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.

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

>>> telegram.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?

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

>>> telegram.Bot()

await context.bot.send_chat_action(chat_id=update.effective_chat.id, action=ChatAction.TYPING)

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

>>> telegram.Bot()

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

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

>>> telegram.Bot()

You need to ask the Telebot contributors.

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

>>> telegram.Bot()

Thank you for your contribution.

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

>>> telegram.Bot()

Userbots are, after all, just MTProto clients, so if it was possible with a userbot, it would be possible with any given Telegram client

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

>>> telegram.Bot()

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

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

>>> telegram.Bot()

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

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

>>> telegram.Bot()

Did you pass a parsemode?

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

>>> telegram.Bot()

Do you have premium?

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

>>> telegram.Bot()

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.

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

>>> telegram.Bot()

It is required, but you can now also use icon_custom_emoji_id via api_kwargs.

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

>>> telegram.Bot()

After the official merge is confirmed, do we need to update the PTB to the new version, or will it be added automatically?

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

>>> telegram.Bot()

/channel/pythontelegrambotgroup/788583

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

>>> telegram.Bot()

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

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

>>> telegram.Bot()

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.

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

>>> telegram.Bot()

is there a way to make the bot show the typing indicator while its busy doing something?

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

>>> telegram.Bot()

It's the end of the year. Our company is already on holiday. You are still working so hard to study.

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

>>> telegram.Bot()

Hello, do you know if the colored buttons will be implemented in Telebot?

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

>>> telegram.Bot()

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.

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

>>> telegram.Bot()

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

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

>>> telegram.Bot()

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

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

>>> telegram.Bot()

Bots today are at least 12000€/kg

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