Skip to main content
reference

Types

FilesConfig

namespace: privmx::endpoint::inbox

struct privmx::endpoint::inbox::FilesConfig{...}

Fields

NameTypeDescription
minCountint64_tminimum numer of files required when sending inbox entry
maxCountint64_tmaximum numer of files allowed when sending inbox entry
maxFileSizeint64_tmaximum file size allowed when sending inbox entry
maxWholeUploadSizeint64_tmaximum size of all files in total allowed when sending inbox entry

Inbox

namespace: privmx::endpoint::inbox

struct privmx::endpoint::inbox::Inbox{...}

Fields

NameTypeDescription
inboxIdstd::stringID ot the Inbox
contextIdstd::stringID of the Context
createDateint64_tInbox creation timestamp
creatorstd::stringID of user who created the Inbox
lastModificationDateint64_tInbox last modification timestamp
lastModifierstd::stringID of the user who last modified the Inbox
usersstd::vector< std::string >list of users (their IDs) with access to the Inbox
managersstd::vector< std::string >list of users (their IDs) with management rights
versionint64_tversion number (changes on updates)
publicMetacore::BufferInbox public metadata
privateMetacore::BufferInbox private metadata
filesConfigstd::optional< FilesConfig >Inbox files configuration
statusCodeint64_tstatus code of retrieval and decryption of the Inbox

InboxDeletedEventData

namespace: privmx::endpoint::inbox

struct privmx::endpoint::inbox::InboxDeletedEventData{...}

Fields

NameTypeDescription
inboxIdstd::stringInbox ID

InboxEntry

namespace: privmx::endpoint::inbox

struct privmx::endpoint::inbox::InboxEntry{...}

Fields

NameTypeDescription
entryIdstd::stringID of the entry
inboxIdstd::stringID of the Inbox
datacore::Bufferentry data
filesstd::vector< store::File >list of files attached to the entry
authorPubKeystd::stringpublic key of the author of the entry
createDateint64_tInbox entry creation timestamp
statusCodeint64_tstatus code of retrieval and decryption of the Inbox entry

InboxEntryDeletedEventData

namespace: privmx::endpoint::inbox

struct privmx::endpoint::inbox::InboxEntryDeletedEventData{...}

Fields

NameTypeDescription
inboxIdstd::stringInbox ID
entryIdstd::stringInbox Entry ID

InboxPublicView

namespace: privmx::endpoint::inbox

struct privmx::endpoint::inbox::InboxPublicView{...}

Fields

NameTypeDescription
inboxIdstd::stringID of the Inbox
versionint64_tversion of the Inbox
publicMetacore::BufferInbox public metadata