Class HeartbeatEventArgs
Represents arguments for Heartbeated event.
Namespace: DisCatSharp.EventArgs
Assembly: DisCatSharp.dll
Syntax
public class HeartbeatEventArgs : DiscordEventArgs
Properties
| Improve this Doc View SourcePing
Gets the round-trip time of the heartbeat.
Declaration
public int Ping { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Timestamp
Gets the timestamp of the heartbeat.
Declaration
public DateTimeOffset Timestamp { get; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset |