Types
FilesConfig
namespace: privmx::endpoint::inbox
struct privmx::endpoint::inbox::FilesConfig{...}
Fields
Name | Type | Description |
---|---|---|
minCount | int64_t | minimum numer of files required when sending inbox entry |
maxCount | int64_t | maximum numer of files allowed when sending inbox entry |
maxFileSize | int64_t | maximum file size allowed when sending inbox entry |
maxWholeUploadSize | int64_t | maximum size of all files in total allowed when sending inbox entry |
Inbox
namespace: privmx::endpoint::inbox
struct privmx::endpoint::inbox::Inbox{...}
Fields
Name | Type | Description |
---|---|---|
inboxId | std::string | ID ot the Inbox |
contextId | std::string | ID of the Context |
createDate | int64_t | Inbox creation timestamp |
creator | std::string | ID of user who created the Inbox |
lastModificationDate | int64_t | Inbox last modification timestamp |
lastModifier | std::string | ID of the user who last modified the Inbox |
users | std::vector< std::string > | list of users (their IDs) with access to the Inbox |
managers | std::vector< std::string > | list of users (their IDs) with management rights |
version | int64_t | version number (changes on updates) |
publicMeta | core::Buffer | Inbox public metadata |
privateMeta | core::Buffer | Inbox private metadata |
filesConfig | std::optional< FilesConfig > | Inbox files configuration |
statusCode | int64_t | status code of retrieval and decryption of the Inbox |
InboxDeletedEventData
namespace: privmx::endpoint::inbox
struct privmx::endpoint::inbox::InboxDeletedEventData{...}
Fields
Name | Type | Description |
---|---|---|
inboxId | std::string | Inbox ID |
InboxEntry
namespace: privmx::endpoint::inbox
struct privmx::endpoint::inbox::InboxEntry{...}
Fields
Name | Type | Description |
---|---|---|
entryId | std::string | ID of the entry |
inboxId | std::string | ID of the Inbox |
data | core::Buffer | entry data |
files | std::vector< store::File > | list of files attached to the entry |
authorPubKey | std::string | public key of the author of the entry |
createDate | int64_t | Inbox entry creation timestamp |
statusCode | int64_t | status code of retrieval and decryption of the Inbox entry |
InboxEntryDeletedEventData
namespace: privmx::endpoint::inbox
struct privmx::endpoint::inbox::InboxEntryDeletedEventData{...}
Fields
InboxPublicView
namespace: privmx::endpoint::inbox
struct privmx::endpoint::inbox::InboxPublicView{...}