You mean the message includes an IP address and you want to extract that from it, or...?
Читать полностью…Hey guys anyone know who the "reacted" people in a channel comment are? (Even though they did not react with an emoji)
Читать полностью…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 ""
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.
Читать полностью…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
In case everyone wonders the same, it seems this is not possible, but it possible to track update in amount of reactions though
Читать полностью…This group is for asking technical questions when using the python-telgram-bot library
Читать полностью…I gave an example on this but on any bot that does this to me or channel, tell me the right commands to put in please
Читать полностью…I have this problem when I want show id bot or channels
Errore: A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: invalid user_id specified
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?
Читать полностью…It would be great if there is some clear example on how to do that other than the one in PTB documentation example
Читать полностью…@loomingsorrowdescent (and whoever else cares) updated the media group example to V20
Читать полностью…thanks for the offer. ill try and figure something out. because so much to debug =)
Читать полностью…Hiya, any thouhts on how to test new members entering/leaving chat? do you need to setup additional TG accounts?
Читать полностью…I want to do in my bot that I can see the id of everything both of the channel and of the group and of the ids I write script in python
Читать полностью…Example
/info @BotFather
Errore: A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: invalid user_id specified
Hi all I want show info id in my bot example
Id info @Mr_Looker
Id bot
And
Id channels
Plz send me command for put in my script python