aegis.cpp
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Pages
message_update.hpp
1 //
2 // message_update.hpp
3 // ******************
4 //
5 // Copyright (c) 2019 Sharon W (sharon at aegis dot gg)
6 //
7 // Distributed under the MIT License. (See accompanying file LICENSE)
8 //
9 
10 #pragma once
11 
12 #include "aegis/config.hpp"
13 #include "aegis/fwd.hpp"
14 #include "aegis/gateway/objects/message.hpp"
15 #include <nlohmann/json.hpp>
16 
17 namespace aegis
18 {
19 
20 namespace gateway
21 {
22 
23 namespace events
24 {
25 
29 {
32  lib::optional<std::reference_wrapper<aegis::user>> user;
34 };
35 
36 }
37 
38 }
39 
40 }
objects::message msg
Definition: message_update.hpp:33
Definition: message.hpp:57
Class for performing actions pertaining to a specified channel.
Definition: channel.hpp:170
lib::optional< std::reference_wrapper< aegis::user > > user
Definition: message_update.hpp:32
shards::shard & shard
Definition: message_update.hpp:30
aegis::channel & channel
Definition: message_update.hpp:31
Tracks websocket shards and their connections.
Definition: shard.hpp:42
Definition: message_update.hpp:28