diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-06-17 02:46:55 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-06-17 02:46:55 -0400 |
commit | 4ee7025ab09b606a2556bf9f42c1218d7fd72843 (patch) | |
tree | 4b7747da4be59e672d649e254474d09cab0f01c0 /src/discord/chatsubmitparams.hpp | |
parent | d0fa308f6e339b94044d39bf0e76b8221da48c3a (diff) | |
download | abaddon-portaudio-4ee7025ab09b606a2556bf9f42c1218d7fd72843.tar.gz abaddon-portaudio-4ee7025ab09b606a2556bf9f42c1218d7fd72843.zip |
add file upload via dnd + rework http
Diffstat (limited to 'src/discord/chatsubmitparams.hpp')
-rw-r--r-- | src/discord/chatsubmitparams.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/discord/chatsubmitparams.hpp b/src/discord/chatsubmitparams.hpp index 0f0a0cd..6199634 100644 --- a/src/discord/chatsubmitparams.hpp +++ b/src/discord/chatsubmitparams.hpp @@ -2,6 +2,7 @@ #include <vector> #include <string> #include <glibmm/ustring.h> +#include <giomm/file.h> #include "discord/snowflake.hpp" struct ChatSubmitParams { @@ -11,8 +12,9 @@ struct ChatSubmitParams { }; struct Attachment { - std::string Path; + Glib::RefPtr<Gio::File> File; AttachmentType Type; + std::string Filename; }; Snowflake ChannelID; |