Skip to content

Reply

Sends a message attached to the case.

1
myCase.Reply(message: [Message](./../Message/index.md), from?: ( string | [Identity](./../Identity/index.md) ), forward?: boolean):object

Parameters

Message message
    The message to send.

( string | Identity ) from optional
    The identity of the user sending the message. The default is the channel.

boolean forward optional
    Indicates whether the message is forwarded. The default is false.

Returns

A reply activity object.

Remarks

This method sends a message on the case. The sent message is attached to the case, listed in the case activity feed, and included in the mail thread. The from parameter can be a user identity to send the message on behalf of that user. If it is not specified, the message is sent from the channel email address. The forward parameter indicates whether the message is forwarded. If it is not specified, the message is treated as a new message.