Function resolveContentToData

  • Resolves message content to REST message data.

    Parameters

    • content: MessageContent

      The content of the message. Can be a string or an instance of an Embed object.

    Returns {
        content?: string;
        embeds?: ChatEmbedPayload[];
    }

    REST message data.

Generated using TypeDoc