summaryrefslogtreecommitdiff
path: root/discord/invite.hpp
blob: 5b42167aa8fdea0c51eae3de0d28bad2ea3b3289 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include "json.hpp"
#include "guild.hpp"
#include <string>

class Invite {
public:
    std::string Code;    //
    GuildData Guild;     // opt
    ChannelData Channel; // opt
    UserData Inviter;    // opt
    int Members = -1;    // opt

    friend void from_json(const nlohmann::json &j, Invite &m);
};