DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
discord_core_api::activity_data Struct Reference

Activity data. More...

#include <Utilities.hpp>

Public Data Members

snowflake applicationId {}
 Application id for the game.
 
uint64_t createdAt {}
 Unix timestamp(in milliseconds) of when the activity was added to the user's session.
 
jsonifier::string details {}
 What the player is currently doing.
 
jsonifier::string name {}
 Name of the activity.
 
jsonifier::string state {}
 User's current party status, or text used for a custom status.
 
time_stamps timestamps {}
 Timestamps object unix timestamps for start and / or end of the game.
 
activity_type type {}
 Activity's type.
 
jsonifier::string url {}
 Stream url, is validated when type is 1.
 

The documentation for this struct was generated from the following file: