Types
Message
namespace: privmx::endpoint::thread
struct privmx::endpoint::thread::Message{...}
Fields
Name | Type | Description |
---|---|---|
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
namespace: privmx::endpoint::thread
struct privmx::endpoint::thread::ServerMessageInfo{...}
Fields
Name | Type | Description |
---|---|---|
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
namespace: privmx::endpoint::thread
struct privmx::endpoint::thread::Thread{...}
Fields
Name | Type | Description |
---|---|---|
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 |
messagesCount | int64_t | total number of messages in the Thread |
statusCode | int64_t | status code of retrieval and decryption of the Thread |
ThreadDeletedEventData
namespace: privmx::endpoint::thread
struct privmx::endpoint::thread::ThreadDeletedEventData{...}
Fields
Name | Type | Description |
---|---|---|
threadId | std::string | Thread ID |
ThreadDeletedMessageEventData
namespace: privmx::endpoint::thread
struct privmx::endpoint::thread::ThreadDeletedMessageEventData{...}
Fields
Name | Type | Description |
---|---|---|
threadId | std::string | Thread ID |
messageId | std::string | message ID |
ThreadStatsEventData
namespace: privmx::endpoint::thread
struct privmx::endpoint::thread::ThreadStatsEventData{...}