Class Message#
Defined in File Message.h
Inheritance Relationships#
Base Type#
public xbe::sdk::EntityBase(Class EntityBase)
Class Documentation#
-
class Message : public xbe::sdk::EntityBase#
Public Functions
-
inline Message()#
-
inline virtual ~Message()#
-
inline virtual Message &SetProperties(const std::map<utility::string_t, Variant> &value) override#
Sets the object’s underlying map of stored values.
-
inline virtual Message &SetProperties(std::map<utility::string_t, Variant> &&value) override#
Sets the underlying map of stored values for the object.
-
inline virtual Message &SetProperty(const utility::char_t *name, const Variant &value) override#
Sets the property of the given name to the provided value.
-
inline virtual Message &SetProperty(const utility::string_t &name, const Variant &value) override#
Sets the property of the given name to the provided value.
-
inline virtual Message &SetRemoteUrl(const utility::string_t &url) override#
Returns the URL of the remote server endpoint where the object is managed.
-
inline virtual Message &SetUid(const utility::string_t &value) override#
Sets the value of the Uid property.
- Parameters:
value – The value to set.
-
inline virtual Message &SetDateCreated(const datetime &value) override#
Sets the value of the DateCreated property.
- Parameters:
value – The value to set.
-
inline virtual Message &SetDateModified(const datetime &value) override#
Sets the value of the DateModified property.
- Parameters:
value – The value to set.
-
inline virtual Message &SetVersion(const uint64_t value) override#
Sets the value of the Version property.
- Parameters:
value – The value to set.
-
virtual void Validate() override#
-
utility::string_t GetChannelUid() const#
The unique identifier of the channel that this messsage belongs to.
-
Message &SetChannelUid(const utility::string_t &value)#
The unique identifier of the channel that this messsage belongs to.
-
utility::string_t GetUserUid() const#
The unique identifier of the user that sent this message.
-
Message &SetUserUid(const utility::string_t &value)#
The unique identifier of the user that sent this message.
-
utility::string_t GetContent() const#
The contents of the message.
-
utility::string_t GetThreadUid() const#
The unique identifier of the thread channel that was started from this message.
-
Message &SetThreadUid(const utility::string_t &value)#
The unique identifier of the thread channel that was started from this message.
-
std::vector<utility::string_t> GetMentions() const#
The list of unique identifiers for each user that was mentioned in this message.
-
Message &SetMentions(const std::vector<utility::string_t> values)#
The list of unique identifiers for each user that was mentioned in this message.
-
std::shared_ptr<Object> GetAttachments() const#
A map of key-value pairs representing a list of attachments that have been appended to the mail.The key of each pair is the name of the attachment and the value must be an encoded string. The string can represent any data including binary data using base64 encoding.
A map of key-value pairs representing a list of attachments that have been appended to the mail.The key of each pair is the name of the attachment and the value must be an encoded string. The string can represent any data including binary data using base64 encoding.
Public Static Functions
-
static inline const utility::char_t *ClassName()#
Returns the fully qualified name of the class.
-
inline Message()#