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

WebHook data. More...

#include <FoundationEntities.hpp>

Inheritance diagram for DiscordCoreAPI::WebHookData:
[legend]

Public Data Members

Snowflake applicationId {}
 Application id.
 
std::string avatar {}
 Avatar of the WebHook.
 
Snowflake channelId {}
 Channel id for which the WebHook was issued.
 
Snowflake guildId {}
 Guild id for which the WebHook was issued.
 
std::string name {}
 Name of the WebHook.
 
ChannelData sourceChannel {}
 Channel for which th WebHook was issued.
 
GuildData sourceGuild {}
 Source Guild id.
 
std::string token {}
 Token of the WebHook.
 
WebHookType type { 0 }
 Type of WebHook.
 
std::string url {}
 Url of the WebHook.
 
UserData user {}
 User which create the WebHook.
 
- Public Data Members inherited from DiscordCoreAPI::DiscordEntity
Snowflake id {}
 

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::DiscordEntity
std::string getCreatedAtTimestamp (TimeFormat timeFormat)
 Converts the snowflake-id into a time and date stamp.
 

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