-
Notifications
You must be signed in to change notification settings - Fork 143
Activity
SinisterRectus edited this page Dec 8, 2018
·
10 revisions
Represents a Discord user's presence data, either plain game or streaming presence or a rich presence. Most if not all properties may be nil.
Instances of this class should not be constructed by users.
Name | Type | Description |
---|---|---|
applicationId | string/nil | The application id controlling this Rich Presence activity. |
details | string/nil | string for the Rich Presence details section. |
imageLarge | string/nil | URL for the Rich Presence large image. |
imageSmall | string/nil | URL for the Rich Presence small image. |
name | string/nil | The game that the user is currently playing. |
partyId | string/nil | Party id for this Rich Presence. |
partyMax | number/nil | Max size for the Rich Presence party. |
partySize | number/nil | Size of the Rich Presence party. |
start | number/nil | The Unix timestamp for when this Rich Presence activity was started. |
state | string/nil | string for the Rich Presence state section. |
stop | number/nil | The Unix timestamp for when this Rich Presence activity was stopped. |
textLarge | string/nil | string for the Rich Presence large image text. |
textSmall | string/nil | string for the Rich Presence small image text. |
type | number/nil | The type of user's game status. See the gameType enumeration for a human-readable representation. |
url | string/nil | The URL that is set for a user's streaming game status. |