Interface ISendMessageRequest
- All Superinterfaces:
Serializable
Common interface for the request to send message.
- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionThe UUID of the chat the message belongs to.@NotBlank String@NotNull @Valid ISendMessageData@NotNull ISendMessageRecipient@NotNull IUserRequired.@NotBlank StringRequired.Optional, but recommended that you set this.boolean
-
Method Details
-
getFormRecordUuid
- Returns:
- The UUID (or process ID) of the form record for which the message is sent.
-
getChatUuid
String getChatUuid()The UUID of the chat the message belongs to.- Returns:
- The UUID of the chat the message belongs to.
-
getMessage
- Returns:
- The message of the form record message request.
-
getRecipient
- Returns:
- The recipient of the form record message.
-
getSender
Required. The user who sent the message. Defaults to anonymous.- Returns:
- The user who sent the message.
-
getSenderContext
Required. The context where the message was posted. See alsoEFormRecordMessageSenderContextfor well-known contexts.- Returns:
- The context where the message was posted.
- See Also:
-
getSenderName
String getSenderName()Optional, but recommended that you set this. The name of the sender. Defaults to the display name ofgetSender()- Returns:
- The name of the sender.
- See Also:
-
isAnswerAllowed
boolean isAnswerAllowed()- Returns:
- Whether the recipient is allowed to answer the form record message.
-