summaryrefslogtreecommitdiff
path: root/src/discord/chatsubmitparams.hpp
blob: 0f0a0cd04bcd396657a0865cadc8ec4ac8adce29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once
#include <vector>
#include <string>
#include <glibmm/ustring.h>
#include "discord/snowflake.hpp"

struct ChatSubmitParams {
    enum AttachmentType {
        PastedImage,
        ExtantFile,
    };

    struct Attachment {
        std::string Path;
        AttachmentType Type;
    };

    Snowflake ChannelID;
    Snowflake InReplyToID;
    Glib::ustring Message;
    std::vector<Attachment> Attachments;
};