floo::BMXForwardAttachment::Message
转发消息附件自定义消息
#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