Answer the question
In order to leave comments, you need to log in
How to get the ID of the user who was invited to the conversation?
I found a script to make the bot react to the user when joining, now you need to get the ID of the invited user.
Here is the script itself;
for event in longpoll.listen():
try:
if event.type_id == 6:
print("New User!")
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question