Chat SDK v1.3.5 for React Native
    Preparing search index...

    Class ChatTextMessageBody

    The text message body class.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • params: {
            content: string;
            lastModifyOperatorId?: string;
            lastModifyTime?: number;
            modifyCount?: number;
            targetLanguageCodes?: string[];
            translations?: any;
        }

      Returns ChatTextMessageBody

    Properties

    content: string

    The text message content.

    lastModifyOperatorId?: string

    The user ID of the operator that modified the message last time.

    lastModifyTime?: number

    The UNIX timestamp of the last message modification, in milliseconds.

    modifyCount?: number

    The number of times a message is modified.

    targetLanguageCodes?: string[]
    translations?: any

    The translation.

    It is a KV object, where the key is the target language and the value is the translation.

    The message type. See ChatMessageType.