Models
Message
Fields
Info
ServerMessageInfo
Server metadata.
PublicMeta
byte[]
Public metadata.
PrivateMeta
byte[]
Private metadata.
Data
byte[]
Payload of the message.
AuthorPubKey
string
Verified public key of the PublicMeta, PrivateMeta and Data author.
StatusCode
long
Status code of decryption and verification of the message.
If value is equal 0, then the message is successfully decrypted and verified. Otherwise, status code is compatible with codes of exceptions.
ServerMessageInfo
Fields
ThreadId
string
ID of the Thread.
MessageId
string
ID of the message.
CreateDate
long
Server creation timestamp.
Author
string
ID of the creator user.
Thread
Fields
ContextId
string
ID of the Context.
ThreadId
string
ID of the Thread.
CreateDate
long
Server creation timestamp.
Creator
string
ID of the creator user.
LastModificationDate
long
Last modification timestamp.
LastModifier
string
ID of the user who was last a modifier.
Users
List<string>
List of user IDs that have access to the Thread.
Managers
List<string>
List of user IDs that have management rights to the Thread.
Version
long
Number of the Thread updates.
LastMsgDate
long
Timestamp of the last message in the Thread, or the Thread creation timestamp if no messages in.
PublicMeta
byte[]
Public metadata.
PrivateMeta
byte[]
Private metadata.
Policy
ContainerPolicy
Thread's policy.
MessagesCount
long
Total number of messages in the Thread.
StatusCode
long
Status code of decryption and verification of the Thread.
If value is equal 0, then the Thread is successfully decrypted and verified. Otherwise, status code is compatible with codes of exceptions.
ThreadCreatedEvent
Fields
Data
Thread
Created Thread.
ThreadDeletedEvent
Fields
Data
ThreadDeletedEventData
Deleted Thread metadata.
ThreadDeletedEventData
Fields
ThreadId
string
ID of the deleted Thread.
ThreadDeletedMessageEventData
Fields
ThreadId
string
ID of the Thread that the message is deleted from.
MessageId
string
ID of the deleted message.
ThreadMessageDeletedEvent
Fields
Data
ThreadDeletedMessageEventData
Deleted message metadata.
ThreadMessageUpdatedEvent
Fields
Data
Message
Updated message.
ThreadNewMessageEvent
Fields
Data
Message
Created message.
ThreadStatsChangedEvent
Fields
Data
ThreadStatsEventData
Thread statistics.
ThreadStatsEventData
Fields
ThreadId
string
ID of the Thread.
LastMsgDate
long
Last message timestamp.
MessagesCount
long
Total number of messages in the Thread.
ThreadUpdatedEvent
Fields
Data
Thread
Updated 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.