From 4ee7025ab09b606a2556bf9f42c1218d7fd72843 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Fri, 17 Jun 2022 02:46:55 -0400 Subject: add file upload via dnd + rework http --- src/discord/chatsubmitparams.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/discord/chatsubmitparams.hpp') 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 #include #include +#include #include "discord/snowflake.hpp" struct ChatSubmitParams { @@ -11,8 +12,9 @@ struct ChatSubmitParams { }; struct Attachment { - std::string Path; + Glib::RefPtr File; AttachmentType Type; + std::string Filename; }; Snowflake ChannelID; -- cgit v1.2.3