Home > borogove > Notification_2
Notification_2 class
Signature:
export class Notification
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(title, body, accountId, chatId, senderId, messageId, type, callStatus, callSid, imageUri, lang, timestamp) |
protected
|
Constructs a new instance of the Notification class
|
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| accountId | string | The ID of the associated account | |
| body | string | The body text | |
| callSid | string | null | If this is a call notification, the call session ID | |
| callStatus | string | null | If this is a call notification, the call status | |
| chatId | string | The ID of the associated chat | |
| imageUri | string | null | Optional image URI | |
| lang | string | null | Optional language code | |
| messageId | string | The serverId of the message | |
| senderId | string | The ID of the message sender | |
| timestamp | string | null | Optional date and time of the event | |
| title | string | The title | |
| type | enums.MessageType | The type of the message |