pythontelegrambotgroup | Unsorted

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

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

Subscribe to a channel

>>> telegram.Bot()

You can always look at the docs or do a type() call

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

>>> telegram.Bot()

You can only react with emojis

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

>>> telegram.Bot()

Yes...sure i'm using a regex but i have to access to the bot message not user message....probably the @BiboJoshi solution can be the right way....

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

>>> telegram.Bot()

Hi Harry...
Thank you for your quick reply....i send from graylog a message with an ip address inside.... The message is sent from the bot itself...

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

>>> telegram.Bot()

You mean the message includes an IP address and you want to extract that from it, or...?

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

>>> telegram.Bot()

Hey guys anyone know who the "reacted" people in a channel comment are? (Even though they did not react with an emoji)

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

>>> telegram.Bot()

It's keep showing me this error
Tried various ways
It didn't worked out

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

>>> telegram.Bot()

for mod in USER_INFO:
try:
mod_info = mod.__user_info__(chat_obj.id).strip()
except TypeError:
mod_info = mod.__user_info__(chat_obj.id, chat.id).strip()

head += "\n\n" + mod_info if mod_info else ""

'coroutine' object has no attribute 'strip'

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

>>> telegram.Bot()

bot/user/chat_data is in-memory only by default. you could use ptbs persistency setup to achieve something like this, but you'd have to be careful not to override data from two different processes. So let me first ask you: What exactly is the goal here? This seems like an xy-problem to me.

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

>>> telegram.Bot()

PTB doesn't cover webdev, the example is just an extremely basic demonstration on how to send a webapp and take input from it
Anything beyond that is completely out of the library's scope

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

>>> telegram.Bot()

You write and provide the webapp, gotta learn JS or Flask/Django

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

>>> telegram.Bot()

Thank you! I have finally unserstand the difference!

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

>>> telegram.Bot()

In case everyone wonders the same, it seems this is not possible, but it possible to track update in amount of reactions though

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

>>> telegram.Bot()

Or just do it yourself, you should be able to leave without group getting deleted

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

>>> telegram.Bot()

i'll join if you want to check

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

>>> telegram.Bot()

You mean what type? Message

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

>>> telegram.Bot()

Sounds good....do you know which format is the message variable?

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

>>> telegram.Bot()

If you inject the IP address into the message surely you already have it? Or just do a regex to find the IP if its part of a larger string

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

>>> telegram.Bot()

Wiki of python-telegram-bot - Category FAQ
How do I access info about the message my bot sent?

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

>>> telegram.Bot()

Hi everyone....i would like to take a message of the bot and extract an ip address from It..... I used the echobot.py but these is only for user....do you have any ideas?

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

>>> telegram.Bot()

and what do you expect that to be instead, this "working it out"

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

>>> telegram.Bot()

mod.__user_info__(chat_obj.id) is a coroutine what is your question

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

>>> telegram.Bot()

Use hosting, I use pythonanywhere personally

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

>>> telegram.Bot()

I moved this discussion to the off-topic group.

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

>>> telegram.Bot()

It would be great if there is some clear example on how to do that other than the one in PTB documentation example

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

>>> telegram.Bot()

I would like to thank community for all the answers!

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

>>> telegram.Bot()

hello every , please how can know if user click in webapp buttons

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

>>> telegram.Bot()

@loomingsorrowdescent (and whoever else cares) updated the media group example to V20

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

>>> telegram.Bot()

thanks for the offer. ill try and figure something out. because so much to debug =)

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

>>> telegram.Bot()

Hiya, any thouhts on how to test new members entering/leaving chat? do you need to setup additional TG accounts?

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