dpp::message_file_data
message.h
std::string std::string dpp::message_file_data::content content dpp::message_file_data::content {}

File content to upload (raw binary).

std::string std::string dpp::message_file_data::mimetype mimetype dpp::message_file_data::mimetype {}

Mime type of files to upload.

Todo

Look at turning this into an enum? This would allow people to easily compare mimetypes if they happen to change.

std::string std::string dpp::message_file_data::name name dpp::message_file_data::name {}

Name of file to upload (for use server-side in discord's url).

The data for a file attached to a message.

Todo

Change the naming of this and make stickers (and potentially anything else that has data like this) use this.

dpp::message_file_data
content
mimetype
name
std::basic_string< Char >
std::string
- dpp::message_file_data
  content
- dpp::message_file_data
  mimetype
- dpp::message_file_data
  name