Unblu Agent Embedded JS API
    Preparing search index...

    Interface SendMessage

    interface SendMessage {
        internal?: boolean;
        messageData: MessageData;
        recipientPersonIds?: string[];
        replyToMessageId?: string;
    }
    Index

    Properties

    internal?: boolean

    Whether the message is an internal message, visible only to agents and not to visitors. Only honored when sending as an agent. Defaults to false if not set.

    messageData: MessageData

    The object containing the message data.

    recipientPersonIds?: string[]

    A list of person IDs to send the message to. The message is visible only to the specified recipients. If not set, the message is sent to all participants of the conversation.

    replyToMessageId?: string

    The ID of the message that this message is replying to. If empty, the message isn't treated as a reply.