Types
Message
Fields
info
ServerMessageInfo
message's information created by server
publicMeta
core::Buffer
message's public metadata
privateMeta
core::Buffer
message's private metadata
data
core::Buffer
message's data
authorPubKey
std::string
public key of an author of the message
statusCode
int64_t
status code of retrieval and decryption of the message
ServerMessageInfo
Fields
threadId
std::string
ID of the Thread
messageId
std::string
ID of the message
createDate
int64_t
message's creation timestamp
author
std::string
ID of the user who created the message
Thread
Fields
contextId
std::string
ID of the Context
threadId
std::string
ID of the Thread
createDate
int64_t
Thread creation timestamp
creator
std::string
ID of user who created the Thread
lastModificationDate
int64_t
Thread last modification timestamp
lastModifier
std::string
ID of the user who last modified the Thread
users
std::vector< std::string >
list of users (their IDs) with access to the Thread
managers
std::vector< std::string >
list of users (their IDs) with management rights
version
int64_t
version number (changes on updates)
lastMsgDate
int64_t
timestamp of last posted message
publicMeta
core::Buffer
Thread public metadata
privateMeta
core::Buffer
Thread private metadata
policy
core::ContainerPolicy
Thread policies
messagesCount
int64_t
total number of messages in the Thread
statusCode
int64_t
status code of retrieval and decryption of the Thread
ThreadDeletedEventData
Fields
threadId
std::string
Thread ID
ThreadDeletedMessageEventData
Fields
threadId
std::string
Thread ID
messageId
std::string
message ID
ThreadStatsEventData
Fields
threadId
std::string
Thread ID
lastMsgDate
int64_t
timestamp of the most recent Thread message
messagesCount
int64_t
updated number of messages in the Thread