A Message model object.
More...
|
| | Message (string messageId, string title, DateTime? sentDate, DateTime? expirationDate, bool isRead, string? iconUrl, Dictionary< string, string?>? extras) |
| | Initializes a new instance of the Message class.
|
|
| string | MessageId [get] |
| | Gets the message ID.
|
| string | Title [get] |
| | Gets the message title.
|
| DateTime? | SentDate [get] |
| | Gets the message sent date.
|
| DateTime? | ExpirationDate [get] |
| | Gets the message expiration date.
|
| bool | IsRead [get] |
| | Gets the read status of the message.
|
| bool | Unread [get] |
| | Gets the unread status boolean value.
|
| string? | IconUrl [get] |
| | Gets the message icon url.
|
| Dictionary< string, string?>? | Extras [get] |
| | Gets a dictionary of the message extras.
|
◆ Message()
| AirshipDotNet.MessageCenter.Message.Message |
( |
string | messageId, |
|
|
string | title, |
|
|
DateTime? | sentDate, |
|
|
DateTime? | expirationDate, |
|
|
bool | isRead, |
|
|
string? | iconUrl, |
|
|
Dictionary< string, string?>? | extras ) |
|
inline |
Initializes a new instance of the Message class.
◆ ExpirationDate
| DateTime? AirshipDotNet.MessageCenter.Message.ExpirationDate |
|
get |
Gets the message expiration date.
The message expiration date.
◆ Extras
| Dictionary<string, string?>? AirshipDotNet.MessageCenter.Message.Extras |
|
get |
Gets a dictionary of the message extras.
The dictionary of the message extras.
◆ IconUrl
| string? AirshipDotNet.MessageCenter.Message.IconUrl |
|
get |
Gets the message icon url.
The message icon url.
◆ IsRead
| bool AirshipDotNet.MessageCenter.Message.IsRead |
|
get |
Gets the read status of the message.
True if the message has been read, false otherwise.
◆ MessageId
| string AirshipDotNet.MessageCenter.Message.MessageId |
|
get |
Gets the message ID.
The message ID.
◆ SentDate
| DateTime? AirshipDotNet.MessageCenter.Message.SentDate |
|
get |
Gets the message sent date.
The message sent date.
◆ Title
| string AirshipDotNet.MessageCenter.Message.Title |
|
get |
Gets the message title.
The message title.
◆ Unread
| bool AirshipDotNet.MessageCenter.Message.Unread |
|
get |
Gets the unread status boolean value.
The unread status.