Class NotificationsListMessage
A message for requesting notifications.
Implements
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
[ResponseType(typeof(NotificationsListResponse))]
public class NotificationsListMessage : IWolfMessage
Remarks
Uses NotificationsListResponse as response type.
Constructors
| Improve this Doc View SourceNotificationsListMessage(WolfDevice)
Creates a message instance.
Declaration
public NotificationsListMessage(WolfDevice device)
Parameters
Type | Name | Description |
---|---|---|
WolfDevice | device | Device type to send to the server. |
NotificationsListMessage(WolfLanguage, WolfDevice)
Creates a message instance.
Declaration
public NotificationsListMessage(WolfLanguage language = WolfLanguage.English, WolfDevice device = WolfDevice.Bot)
Parameters
Type | Name | Description |
---|---|---|
WolfLanguage | language | Language to request notifications in. |
WolfDevice | device | Device type to send to the server. |
Properties
| Improve this Doc View SourceDevice
Device type.
Declaration
[JsonProperty("deviceType")]
public WolfDevice Device { get; }
Property Value
Type | Description |
---|---|
WolfDevice |
EventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Equals to NotificationList.
Language
Language of notifications translations.
Declaration
[JsonProperty("language")]
public WolfLanguage Language { get; }
Property Value
Type | Description |
---|---|
WolfLanguage |