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

Invite data. More...

#include <FoundationEntities.hpp>

Public Data Members

int32_t approximateMemberCount {}
 Approximate member count.
int32_t approximatePresenceCount {}
 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 {}
 Maximum age of the invite.
int32_t maxUses {}
 Max number of uses.
StageInstanceData stageInstance {}
 Stage instance data.
ApplicationData targetApplication {}
 Application data.
int32_t targetType {}
 Target type.
UserData targetUser {}
 Target User of the invite.
bool temporary {}
 Is it temporary?
int32_t uses {}
 The current number of uses.

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