Mega Client icon

Mega Client

Work with Mega Client API

Actions13

Message → Create

AI-generated

Summary

Create a new message within a specific conversation for a given contact using the Mega Client API.

Inputs

  • Contact Identifier (required) — Public identifier of the contact for whom the message is created.
  • Conversation ID (required) — ID of the conversation where the message will be added.
  • Content (required) — Text content of the message to be sent.
  • Echo ID — Optional temporary identifier that will be echoed back via WebSockets for tracking the message.

Output shape

a single message object representing the newly created message

Outputs the JSON response from the Mega Client API upon successful message creation. Errors are returned as JSON error messages if 'Continue on Fail' is enabled.

Links

Discussion