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

Invite data. More...

#include <FoundationEntities.hpp>

Public Data Members

int32_t approximateMemberCount { 0 }
 Approximate member count.
 
int32_t approximatePresenceCount { 0 }
 Approximate presence count.
 
ChannelData channel {}
 Channel data of the Channel that the invite is for.
 
std::string code {}
 Unique invite code.
 
TimeStamp createdAt {}
 Time it was created at.
 
TimeStamp expiresAt {}
 When the invite expires.
 
GuildData guild {}
 Guild data of the Channel that the invite is for.
 
Snowflake guildId {}
 The Guild this invite is for.
 
GuildScheduledEventData guildScheduledEvent {}
 Scheduled Guild event.
 
UserData inviter {}
 The User who created the invite.
 
int32_t maxAge { 0 }
 Maximum age of the invite.
 
int32_t maxUses { 0 }
 Max number of uses.
 
StageInstanceData stageInstance {}
 Stage instance data.
 
ApplicationData targetApplication {}
 Application data.
 
int32_t targetType { 0 }
 Target type.
 
UserData targetUser {}
 Target User of the invite.
 
bool temporary { false }
 Is it temporary?
 
int32_t uses { 0 }
 The current number of uses.
 

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