Class CustomStatusGame
A user's activity for their custom status.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public class CustomStatusGame : Game, IActivity
Properties
| Improve this Doc View SourceCreatedAt
Gets the timestamp of when this status was created.
Declaration
public DateTimeOffset CreatedAt { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTimeOffset | A System.DateTimeOffset containing the time when this status was created. |
Emote
Gets the emote, if it is set.
Declaration
public IEmote Emote { get; }
Property Value
| Type | Description |
|---|---|
| IEmote | An IEmote containing the Emoji or GuildEmote set by the user. |
State
Gets the state of the status.
Declaration
public string State { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |