Class PresenceUpdateEvent
Event when a user changes presence state.
Implements
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
public class PresenceUpdateEvent : IWolfMessage
Constructors
| Improve this Doc View SourcePresenceUpdateEvent()
Creates a message instance.
Declaration
[JsonConstructor]
protected PresenceUpdateEvent()
Properties
| Improve this Doc View SourceDevice
User's device.
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 PresenceUpdate.
OnlineState
User's online state.
Declaration
[JsonProperty("onlineState")]
public WolfOnlineState OnlineState { get; }
Property Value
Type | Description |
---|---|
WolfOnlineState |
UserID
ID of the user.
Declaration
[JsonProperty("id")]
public uint UserID { get; }
Property Value
Type | Description |
---|---|
UInt32 |