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

Attachment data. More...

#include <FoundationEntities.hpp>

Inheritance diagram for DiscordCoreAPI::AttachmentData:
[legend]

Public Data Members

std::string contentType {}
 Type of content for the attachment.
 
std::string description {}
 A description of the attachment.
 
bool ephemeral {}
 Whether it was an ephemeral response.
 
std::string filename {}
 The file name of the attachment.
 
int32_t height {}
 The height of the attachment.
 
std::string proxyUrl {}
 The proxy url for the attachment.
 
int32_t size {}
 The size of the attachment.
 
std::string url {}
 The url for the attachment.
 
int32_t width {}
 The width of the attachment.
 
- 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: