Mega icon

Mega

Work with Mega API

Conversation → Set Participants

AI-generated

Summary

Set the participant users of a specified conversation by providing the conversation ID and a JSON array of user IDs to become the conversation's participants.

Inputs

  • Conversation ID (required) — The unique identifier of the conversation for which participants will be set.
  • User IDs (required) — A JSON array containing the user IDs that will be set as the final participants of the conversation.

Output shape

a JSON object representing the updated conversation details or response from the API after setting participants

The output contains the API response confirming the operation result; no pagination or additional data structures are involved.

Links

Discussion