package sync

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Contact

md-d2d-sync.proto:194

Threema contact.

Used in: d2d.ContactSync.Create, d2d.ContactSync.Update, join.EssentialData.AugmentedContact

enum Contact.AcquaintanceLevel

md-d2d-sync.proto:290

Acquaintance level of the contact Required towards a new device and for a new contact. Optional for an existing contact.

Used in: Contact

enum Contact.ActivityState

md-d2d-sync.proto:314

Activity state of the contact Required towards a new device and for a new contact. Optional for an existing contact.

Used in: Contact

enum Contact.IdentityType

md-d2d-sync.proto:278

Identity type of the contact Required towards a new device and for a new contact. Optional for an existing contact.

Used in: Contact

message Contact.NotificationSoundPolicyOverride

md-d2d-sync.proto:425

Notification sound policy for the contact Required towards a new device and for a new contact. Optional for an existing contact. Custom sounds are not reflected but are to be (re-)applied in case the policy is _default_.

Used in: Contact

message Contact.NotificationTriggerPolicyOverride

md-d2d-sync.proto:393

Notification trigger policy for the contact Required towards a new device and for a new contact. Optional for an existing contact.

Used in: Contact

message Contact.NotificationTriggerPolicyOverride.Policy

md-d2d-sync.proto:394

Used in: NotificationTriggerPolicyOverride

enum Contact.NotificationTriggerPolicyOverride.Policy.NotificationTriggerPolicy

md-d2d-sync.proto:396

Apply the following notification trigger policy

Used in: Policy

message Contact.ReadReceiptPolicyOverride

md-d2d-sync.proto:365

_Read_ receipt policy override for this contact Required towards a new device and for a new contact. Optional for an existing contact.

Used in: Contact

enum Contact.SyncState

md-d2d-sync.proto:347

Contact synchronisation state Required towards a new device and for a new contact. Optional for an existing contact. These states are strict monotonic. When a downgrade is being detected, log the incident and ignore the update.

Used in: Contact

message Contact.TypingIndicatorPolicyOverride

md-d2d-sync.proto:379

Typing indicator policy override for this contact Required towards a new device and for a new contact. Optional for an existing contact.

Used in: Contact

enum Contact.VerificationLevel

md-d2d-sync.proto:247

Verification level of the contact Required towards a new device and for a new contact. Optional for an existing contact. Note: When applying logic depending on the verification level, a `WorkVerificationLevel` of `WORK_SUBSCRIPTION_VERIFIED` virtually raises the verification level to `SERVER_VERIFIED`. However, the contact verification level takes precedence if it is `FULLY_VERIFIED`.

Used in: Contact

enum Contact.WorkVerificationLevel

md-d2d-sync.proto:265

Threema Work verification level of the contact. Required towards a new device and for a new contact. Optional for an existing contact. Note: When not using a Threema Work client, the Threema Work verification level must always be `NONE`.

Used in: Contact

enum ConversationCategory

md-d2d-sync.proto:74

Category of a conversation.

Used in: Contact, DistributionList, Group

enum ConversationVisibility

md-d2d-sync.proto:64

Visibility of a conversation.

Used in: Contact, DistributionList, Group

message DistributionList

md-d2d-sync.proto:584

Threema contacts associated to a distribution list.

Used in: d2d.DistributionListSync.Create, d2d.DistributionListSync.Update, join.EssentialData.AugmentedDistributionList

message Group

md-d2d-sync.proto:462

Threema contacts associated to a group.

Used in: d2d.GroupSync.Create, d2d.GroupSync.Update, join.EssentialData.AugmentedGroup

message Group.NotificationSoundPolicyOverride

md-d2d-sync.proto:559

Notification sound policy for the group Required towards a new device and for a new group. Optional for an existing group. Custom sounds are not reflected but are to be (re-)applied in case the policy is _default_.

Used in: Group

message Group.NotificationTriggerPolicyOverride

md-d2d-sync.proto:525

Notification trigger policy for the group Required towards a new device and for a new group. Optional for an existing group.

Used in: Group

message Group.NotificationTriggerPolicyOverride.Policy

md-d2d-sync.proto:526

Used in: NotificationTriggerPolicyOverride

enum Group.NotificationTriggerPolicyOverride.Policy.NotificationTriggerPolicy

md-d2d-sync.proto:528

Apply the following notification trigger policy

Used in: Policy

enum Group.UserState

md-d2d-sync.proto:487

The user's state within the group Required towards a new device and for a new group. Optional for an existing group.

Used in: Group

message MdmParameters

md-d2d-sync.proto:88

Application configuration parameters shared across Threema Work devices. See [mdm-parameters.md](./md-parameters.md) for documentation of possible parameter values and associated steps to apply when a parameter has been set for the first time, modified, or removed. Note: MDM parameters are always transmitted fully, not as delta updates.

Used in: d2d.MdmParameterSync.Update, join.EssentialData

message MdmParameters.Parameter

md-d2d-sync.proto:90

A single MDM parameter.

Used in: MdmParameters

enum MdmParameters.ParameterPrecedence

md-d2d-sync.proto:109

Used in: MdmParameters

enum NotificationSoundPolicy

md-d2d-sync.proto:58

Notification sound policy.

Used in: Contact.NotificationSoundPolicyOverride, Group.NotificationSoundPolicyOverride

enum ReadReceiptPolicy

md-d2d-sync.proto:42

_Read_ receipt policy (when an unread message has been read)

Used in: Contact.ReadReceiptPolicyOverride, Settings

message Settings

md-d2d-sync.proto:641

App settings When the user changes one or more settings: 1. Begin a transaction (scope: `SETTINGS_SYNC`, precondition: none). 2. For each setting that has been modified, run the associated steps of the setting and include the modified settings. 3. Reflect this message and commit the transaction. 4. Apply the modified settings locally. When reflected from another device: 1. For each setting that is being included by this message, run the associated steps of the setting and apply the modified setting.

Used in: d2d.SettingsSync.Update, join.EssentialData

enum Settings.ContactSyncPolicy

md-d2d-sync.proto:645

Contact synchronisation policy Required towards a new device. Optional otherwise.

Used in: Settings

enum Settings.GroupCallPolicy

md-d2d-sync.proto:712

Threema Group Call policy Required towards a new device. Optional otherwise.

Used in: Settings

enum Settings.KeyboardDataCollectionPolicy

md-d2d-sync.proto:734

Keyboard data collection policy (e.g. for personalised suggestions) Required towards a new device. Optional otherwise.

Used in: Settings

enum Settings.O2oCallConnectionPolicy

md-d2d-sync.proto:690

Threema 1:1 Call connection policy. Required towards a new device. Optional otherwise. Note: This is only relevant for 1:1 calls.

Used in: Settings

enum Settings.O2oCallPolicy

md-d2d-sync.proto:677

Threema 1:1 Call policy Required towards a new device. Optional otherwise.

Used in: Settings

enum Settings.O2oCallVideoPolicy

md-d2d-sync.proto:701

Threema 1:1 Call video (stream) policy. Required towards a new device. Optional otherwise.

Used in: Settings

enum Settings.ScreenshotPolicy

md-d2d-sync.proto:723

Screenshot policy Required towards a new device. Optional otherwise.

Used in: Settings

enum Settings.UnknownContactPolicy

md-d2d-sync.proto:656

Unknown contacts policy Required towards a new device. Optional otherwise.

Used in: Settings

message ThreemaWorkCredentials

md-d2d-sync.proto:122

Threema Work credentials for authentication towards Work APIs.

Used in: join.EssentialData

enum TypingIndicatorPolicy

md-d2d-sync.proto:50

Typing indicator policy (signal _currently typing_)

Used in: Contact.TypingIndicatorPolicyOverride, Settings

message UserProfile

md-d2d-sync.proto:130

The user's profile.

Used in: d2d.UserProfileSync.Update, join.EssentialData

md-d2d-sync.proto:171

External entities linked with the identity Required towards a new device. Optional otherwise. When the user has cleared all of its identity links, this message is present but `links` contains zero items.

Used in: UserProfile

md-d2d-sync.proto:173

Threema ID link.

Used in: IdentityLinks

message UserProfile.ProfilePictureShareWith

md-d2d-sync.proto:150

Profile picture share policy Required towards a new device. Optional otherwise.

Used in: UserProfile