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

Invite data. More...

#include <FoundationEntities.hpp>

Public Data Members

uint64_t approximateMemberCount {}
 Approximate member count.
 
uint64_t approximatePresenceCount {}
 Approximate presence count.
 
channel_data channel {}
 channel_data data of the channel_data that the invite is for.
 
jsonifier::string code {}
 Unique invite code.
 
jsonifier::string createdAt {}
 Time it was created at.
 
jsonifier::string expiresAt {}
 When the invite expires.
 
partial_guild_data guild {}
 Guild data of the channel_data that the invite is for.
 
snowflake guildId {}
 The guild this invite is for.
 
guild_scheduled_event_data guildScheduledEvent {}
 Scheduled guild event.
 
user_data inviter {}
 The user_data who created the invite.
 
uint64_t maxAge {}
 Maximum age of the invite.
 
uint64_t maxUses {}
 Max number of uses.
 
stage_instance_data stageInstance {}
 Stage instance data.
 
application_data targetApplication {}
 Application data.
 
uint64_t targetType {}
 Target type.
 
user_data targetUser {}
 Target user_data of the invite.
 
bool temporary {}
 Is it temporary?
 
uint64_t uses {}
 The current number of uses.
 

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