floo::BMXForwardAttachment::Message

Custom message to forward attachment

#include <bmx_forward_attachment.h>

Public Functions

Name
Message(std::shared_ptr< BMXMessage > msg)
virtual ~Message()

Public Attributes

Name
int64_t msgId
int64_t fromId
int64_t clientTimestamp
int64_t serverTimestamp
std::string content
Type contentType
BMXMessageAttachmentPtr attachment
JSON extension

Public Functions Documentation

function Message

Message(
    std::shared_ptr< BMXMessage > msg
)

Example:

function ~Message

inline virtual ~Message()

Public Attributes Documentation

variable msgId

int64_t msgId;

variable fromId

int64_t fromId;

variable clientTimestamp

int64_t clientTimestamp;

variable serverTimestamp

int64_t serverTimestamp;

variable content

std::string content;

variable contentType

Type contentType;

variable attachment

BMXMessageAttachmentPtr attachment;

variable extension

JSON extension;

Example:


Updated on 2022-01-26 at 17:20:40 +0800

© 2019-2024 MaximTop | Homepage | Site Map Last modified time: 2024-12-07 06:49:06