aegis.cpp
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Public Attributes | List of all members
aegis::gateway::events::message_create Struct Reference

#include <message_create.hpp>

Public Member Functions

bool has_user () const noexcept
 
aegis::userget_user () const
 

Public Attributes

shards::shardshard
 
lib::optional
< std::reference_wrapper
< aegis::user > > 
user
 
aegis::channelchannel
 
objects::message msg
 

Detailed Description

Todo:
Needs documentation

Member Data Documentation

aegis::channel& aegis::gateway::events::message_create::channel

Reference to channel object this message was sent in

objects::message aegis::gateway::events::message_create::msg

Message object

shards::shard& aegis::gateway::events::message_create::shard

Reference to shard object this message came from

lib::optional<std::reference_wrapper<aegis::user> > aegis::gateway::events::message_create::user

Reference to object of user that sent this message


The documentation for this struct was generated from the following file: