MEGA icon

MEGA

Manage conversations, contacts, WhatsApp, Kanban CRM and Captain AI in MEGA

Actions417

Conversation → Translate Message

AI-generated

Summary

Translate a specific message in a conversation to a target language using the Google Translate integration. Returns no content if the message was already translated to the specified language, in which case the translation should be read from the message translations.

Inputs

  • Account (required) — Select the MEGA account to use for the operation.
  • Inbox (required) — Select the inbox within the account to target.
  • Conversation (required) — Select the conversation that contains the message.
  • Message (required) — Select the specific message within the conversation to translate.
  • Target Language (required) — Provide the ISO 639-1 code of the language to translate the message into.

Output shape

a JSON object representing the translation result or an empty response if no new translation was needed

If the message has already been translated to the target language, MEGA returns no content; in this case, the translation should be retrieved from the existing message translations rather than this operation's response.

Examples

Example 1: Translate a message in an existing conversation to Spanish

Specify the account, inbox, conversation, message, and set 'Target Language' to 'es'

Links

Discussion