mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-19 20:11:59 +03:00
add ability to edit messages
This commit is contained in:
@@ -424,3 +424,11 @@ struct CreateMessageObject {
|
||||
|
||||
friend void to_json(nlohmann::json &j, const CreateMessageObject &m);
|
||||
};
|
||||
|
||||
struct MessageEditObject {
|
||||
std::string Content; // opt, null
|
||||
std::vector<EmbedData> Embeds; // opt, null
|
||||
int Flags = -1; // opt, null
|
||||
|
||||
friend void to_json(nlohmann::json &j, const MessageEditObject &m);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user