Message
Extends:
Constructor Summary
Public Constructor | ||
public |
constructor(magister: Magister, raw: Object) |
Member Summary
Public Members | ||
public |
attachments: File[] This will be |
|
public |
|
|
public |
If creating a message, this will be an empty string per default. |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
recipients: Person[] |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public get |
|
Method Summary
Public Methods | ||
public |
addRecipient(recipients: Person | Person[]) |
|
public |
createForwardMessage(content: string): * |
|
public |
createReplyMessage(content: string): * |
|
public |
createReplyToAllMessage(content: string): * |
|
public |
|
|
public |
move(destination: *): * |
|
public |
|
|
public |
Update the server to reflect the changes made on the properties of this Message instance. |
|
public |
|
|
public |
toString(): * |
Inherited Summary
From class MagisterThing | ||
public |
|
Public Constructors
Public Members
public attachments: File[] source
This will be undefined
per default, a fill using fill
is required to retrieve the attachments for this Message.
Public Methods
public createForwardMessage(content: string): * source
Params:
Name | Type | Attribute | Description |
content | string |
|
Return:
* |
public createReplyMessage(content: string): * source
Params:
Name | Type | Attribute | Description |
content | string |
|
Return:
* |
public createReplyToAllMessage(content: string): * source
Params:
Name | Type | Attribute | Description |
content | string |
|
Return:
* |
public fill(fillPersons: boolean): Promise<Message> source
Params:
Name | Type | Attribute | Description |
fillPersons | boolean |
|