Skip to main content
reference

Types

Message

namespace: privmx::endpoint::thread

struct privmx::endpoint::thread::Message{...}

Fields

NameTypeDescription
infoServerMessageInfomessage's information created by server
publicMetacore::Buffermessage's public metadata
privateMetacore::Buffermessage's private metadata
datacore::Buffermessage's data
authorPubKeystd::stringpublic key of an author of the message
statusCodeint64_tstatus code of retrieval and decryption of the message

ServerMessageInfo

namespace: privmx::endpoint::thread

struct privmx::endpoint::thread::ServerMessageInfo{...}

Fields

NameTypeDescription
threadIdstd::stringID of the Thread
messageIdstd::stringID of the message
createDateint64_tmessage's creation timestamp
authorstd::stringID of the user who created the message

Thread

namespace: privmx::endpoint::thread

struct privmx::endpoint::thread::Thread{...}

Fields

NameTypeDescription
contextIdstd::stringID of the Context
threadIdstd::stringID of the Thread
createDateint64_tThread creation timestamp
creatorstd::stringID of user who created the Thread
lastModificationDateint64_tThread last modification timestamp
lastModifierstd::stringID of the user who last modified the Thread
usersstd::vector< std::string >list of users (their IDs) with access to the Thread
managersstd::vector< std::string >list of users (their IDs) with management rights
versionint64_tversion number (changes on updates)
lastMsgDateint64_ttimestamp of last posted message
publicMetacore::BufferThread public metadata
privateMetacore::BufferThread private metadata
messagesCountint64_ttotal number of messages in the Thread
statusCodeint64_tstatus code of retrieval and decryption of the Thread

ThreadDeletedEventData

namespace: privmx::endpoint::thread

struct privmx::endpoint::thread::ThreadDeletedEventData{...}

Fields

NameTypeDescription
threadIdstd::stringThread ID

ThreadDeletedMessageEventData

namespace: privmx::endpoint::thread

struct privmx::endpoint::thread::ThreadDeletedMessageEventData{...}

Fields

NameTypeDescription
threadIdstd::stringThread ID
messageIdstd::stringmessage ID

ThreadStatsEventData

namespace: privmx::endpoint::thread

struct privmx::endpoint::thread::ThreadStatsEventData{...}

Fields

NameTypeDescription
threadIdstd::stringThread ID
lastMsgDateint64_ttimestamp of the most recent Thread message
messagesCountint64_tupdated number of messages in the Thread