summaryrefslogtreecommitdiff
path: root/discord/invite.hpp
blob: 486ecaddc85b6791b1a69111734b59a90fe3de95 (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; //
    Guild Guild;      // opt
    Channel Channel;  // opt
    User Inviter;     // opt
    int Members = -1; // opt

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