MessageBody: {
    elementText: ElementText;
    elementType: ElementType;
    richMediaPayload?: RichMediaPayload;
}

Definition of the body element such as the type of element, the message text and format

Type declaration

  • elementText: ElementText

    The text of the message body

  • elementType: ElementType

    The type of the body element such as text

  • OptionalrichMediaPayload?: RichMediaPayload

    Details of rich media contained in the message.