Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class NotificationsListMessage

    A message for requesting notifications.

    Inheritance
    System.Object
    NotificationsListMessage
    Implements
    IWolfMessage
    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 Source

    NotificationsListMessage(WolfDevice)

    Creates a message instance.

    Declaration
    public NotificationsListMessage(WolfDevice device)
    Parameters
    Type Name Description
    WolfDevice device

    Device type to send to the server.

    | Improve this Doc View Source

    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 Source

    Device

    Device type.

    Declaration
    [JsonProperty("deviceType")]
    public WolfDevice Device { get; }
    Property Value
    Type Description
    WolfDevice
    | Improve this Doc View Source

    EventName

    Message event name.

    Declaration
    [JsonIgnore]
    public string EventName { get; }
    Property Value
    Type Description
    System.String
    Remarks

    Equals to NotificationList.

    | Improve this Doc View Source

    Language

    Language of notifications translations.

    Declaration
    [JsonProperty("language")]
    public WolfLanguage Language { get; }
    Property Value
    Type Description
    WolfLanguage

    Implements

    IWolfMessage

    Extension Methods

    SerializationHelper.SerializeJsonPayload<T>(T, JsonSerializer)