S
S
Smirnovoleg4562020-11-21 12:40:25
In contact with
Smirnovoleg456, 2020-11-21 12:40:25

How to choose two random users in a VK conversation with a first and last name?

Hello everyone, how to make the bot write Two random people in a VK conversation. The vk_api library
is an example: The fool is Andrey Sonin, and the moron is Andrey Ivanenko.
Help me please!!!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2020-11-21
@Smirnovoleg456

To get two random people from a conversation:
1. Get all the people from the conversation https://vk.com/dev/messages.getConversationMembers
2. Select two of them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question