new OutboundMessage(jmap, optsopt)
This class represents a JMAP Message but for client-to-server purpose.
When creating a new OutboundMessage instance, the following requirements must be met:
- The id, blobId, threadId, size, preview, hasAttachment and attachedMessages must be not defined (it is set by the server upon creation)
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
jmap |
Client | The Client instance that created this OutboundMessage. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
opts |
Object |
<optional> |
The optional properties of this OutboundMessage. Properties
|
- Source:
- See:
Extends
Methods
toJSONObject()
Creates a JSON representation from this model.
- Source:
Returns:
JSON object with only owned properties and non default values.