Class OnlineStateUpdateMessage
A message for changing online state.
Implements
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
[ResponseType(typeof(OnlineStateUpdateResponse))]
public class OnlineStateUpdateMessage : IWolfMessage
Remarks
Uses OnlineStateUpdateResponse as response type.
Constructors
| Improve this Doc View SourceOnlineStateUpdateMessage()
Creates a message instance.
Declaration
[JsonConstructor]
protected OnlineStateUpdateMessage()
OnlineStateUpdateMessage(WolfOnlineState)
Creates a message instance.
Declaration
public OnlineStateUpdateMessage(WolfOnlineState onlineState)
Parameters
Type | Name | Description |
---|---|---|
WolfOnlineState | onlineState | Online state to set. |
Properties
| Improve this Doc View SourceEventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Equals to SubscriberSettingsUpdate.
OnlineState
New online state.
Declaration
[JsonProperty("state")]
[JsonConverter(typeof(ObjectPropertyConverter), new object[]{"state"})]
public WolfOnlineState OnlineState { get; }
Property Value
Type | Description |
---|---|
WolfOnlineState |