Module discord_sdk::activity
source · Expand description
Provides types and functionality for Activities , also known as Rich Presence
Modules§
Structs§
- The custom art assets to be used in the user’s profile when the activity is set. These assets need to be already uploaded to Discord in the application’s developer settings.
- A clickable button underneath the activity.
- A party is a uniquely identified group of users, but Discord doesn’t really provide much on top of this
- Secret passwords for joining and spectating the player’s game
- The start and end timestamp of the activity. These are unix timestamps.
Enums§
- The activity kinds you can invite a
User
to engage in. - The reply to send to the
User
who sent a join request. Note that the actual values shown in the API docs are irrelevant as the reply on the wire is actually just a different command kind.