PrivMX DOCS
API Reference/PrivMX Endpoint/Thread

Types

Message

struct privmx::endpoint::thread::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

struct privmx::endpoint::thread::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

struct privmx::endpoint::thread::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

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

Fields

threadId

std::string

Thread ID

ThreadDeletedMessageEventData

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

Fields

threadId

std::string

Thread ID

messageId

std::string

message ID

ThreadStatsEventData

struct privmx::endpoint::thread::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

We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.