S
S
senyadev02018-09-15 18:52:25
Python
senyadev0, 2018-09-15 18:52:25

How to get a list of participants in a conversation?

I can get the id of the participants, but I don't know how to do them individually, that is, like this:

"users": [468363794, 241562528, 266855437, 506520832, 234273266, 240368754]

I got the id, everything is fine, but how do I push them individually and into a list like this:
Participants:
first name last
name first name last name
, etc?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stockholm Syndrome, 2018-09-15
@StockholmSyndrome

use the messages.getConversationMembers method , which returns information about the users in the profiles field

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question