2019-12-02 16:34:05 +01:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2021-08-06 16:40:23 +01:00
|
|
|
option go_package = "./;protobuf";
|
2019-12-02 16:34:05 +01:00
|
|
|
package protobuf;
|
|
|
|
|
|
|
|
message ApplicationMetadataMessage {
|
|
|
|
// Signature of the payload field
|
|
|
|
bytes signature = 1;
|
|
|
|
// This is the encoded protobuf of the application level message, i.e ChatMessage
|
|
|
|
bytes payload = 2;
|
|
|
|
|
|
|
|
// The type of protobuf message sent
|
|
|
|
Type type = 3;
|
|
|
|
|
|
|
|
enum Type {
|
|
|
|
UNKNOWN = 0;
|
|
|
|
CHAT_MESSAGE = 1;
|
2020-01-10 19:59:01 +01:00
|
|
|
CONTACT_UPDATE = 2;
|
2019-12-02 16:34:05 +01:00
|
|
|
MEMBERSHIP_UPDATE_MESSAGE = 3;
|
|
|
|
PAIR_INSTALLATION = 4;
|
|
|
|
SYNC_INSTALLATION = 5;
|
2020-01-10 19:59:01 +01:00
|
|
|
REQUEST_ADDRESS_FOR_TRANSACTION = 6;
|
|
|
|
ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION = 7;
|
|
|
|
DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION = 8;
|
|
|
|
REQUEST_TRANSACTION = 9;
|
|
|
|
SEND_TRANSACTION = 10;
|
|
|
|
DECLINE_REQUEST_TRANSACTION = 11;
|
|
|
|
SYNC_INSTALLATION_CONTACT = 12;
|
|
|
|
SYNC_INSTALLATION_ACCOUNT = 13;
|
|
|
|
SYNC_INSTALLATION_PUBLIC_CHAT = 14;
|
2020-07-03 10:26:35 +02:00
|
|
|
CONTACT_CODE_ADVERTISEMENT = 15;
|
|
|
|
PUSH_NOTIFICATION_REGISTRATION = 16;
|
|
|
|
PUSH_NOTIFICATION_REGISTRATION_RESPONSE = 17;
|
2020-06-30 09:50:59 +02:00
|
|
|
PUSH_NOTIFICATION_QUERY = 18;
|
2020-07-03 10:26:35 +02:00
|
|
|
PUSH_NOTIFICATION_QUERY_RESPONSE = 19;
|
|
|
|
PUSH_NOTIFICATION_REQUEST = 20;
|
|
|
|
PUSH_NOTIFICATION_RESPONSE = 21;
|
2020-07-20 14:17:57 +01:00
|
|
|
EMOJI_REACTION = 22;
|
2020-08-07 15:49:37 +02:00
|
|
|
GROUP_CHAT_INVITATION = 23;
|
2020-10-28 13:21:29 +00:00
|
|
|
CHAT_IDENTITY = 24;
|
2020-11-18 10:16:51 +01:00
|
|
|
COMMUNITY_DESCRIPTION = 25;
|
|
|
|
COMMUNITY_INVITATION = 26;
|
2021-01-11 11:32:51 +01:00
|
|
|
COMMUNITY_REQUEST_TO_JOIN = 27;
|
2021-05-14 23:22:50 +02:00
|
|
|
PIN_MESSAGE = 28;
|
2021-06-07 10:31:27 +02:00
|
|
|
EDIT_MESSAGE = 29;
|
2021-07-22 13:41:49 -04:00
|
|
|
STATUS_UPDATE = 30;
|
2021-07-26 17:06:32 -04:00
|
|
|
DELETE_MESSAGE = 31;
|
2021-08-06 16:40:23 +01:00
|
|
|
SYNC_INSTALLATION_COMMUNITY = 32;
|
2021-09-01 13:02:18 +01:00
|
|
|
ANONYMOUS_METRIC_BATCH = 33;
|
2021-10-05 20:26:02 +03:00
|
|
|
SYNC_CHAT_REMOVED = 34;
|
2021-10-12 13:33:32 +03:00
|
|
|
SYNC_CHAT_MESSAGES_READ = 35;
|
2021-10-11 16:39:52 +01:00
|
|
|
BACKUP = 36;
|
2021-12-02 17:23:02 +03:00
|
|
|
SYNC_ACTIVITY_CENTER_READ = 37;
|
|
|
|
SYNC_ACTIVITY_CENTER_ACCEPTED = 38;
|
|
|
|
SYNC_ACTIVITY_CENTER_DISMISSED = 39;
|
2022-01-17 11:42:11 +08:00
|
|
|
SYNC_BOOKMARK = 40;
|
2022-02-10 18:00:59 +08:00
|
|
|
SYNC_CLEAR_HISTORY = 41;
|
2022-03-23 18:47:00 +00:00
|
|
|
SYNC_SETTING = 42;
|
2022-03-21 15:18:36 +01:00
|
|
|
COMMUNITY_ARCHIVE_MAGNETLINK = 43;
|
2022-03-24 11:35:56 +02:00
|
|
|
SYNC_PROFILE_PICTURE = 44;
|
2022-05-18 13:42:51 +03:00
|
|
|
SYNC_WALLET_ACCOUNT = 45;
|
2022-01-18 16:31:34 +00:00
|
|
|
ACCEPT_CONTACT_REQUEST = 46;
|
|
|
|
RETRACT_CONTACT_REQUEST = 47;
|
2022-07-01 15:54:02 +02:00
|
|
|
COMMUNITY_REQUEST_TO_JOIN_RESPONSE = 48;
|
2022-06-01 09:55:48 +02:00
|
|
|
SYNC_COMMUNITY_SETTINGS = 49;
|
2022-07-05 15:49:44 -04:00
|
|
|
REQUEST_CONTACT_VERIFICATION = 50;
|
|
|
|
ACCEPT_CONTACT_VERIFICATION = 51;
|
|
|
|
DECLINE_CONTACT_VERIFICATION = 52;
|
|
|
|
SYNC_TRUSTED_USER = 53;
|
|
|
|
SYNC_VERIFICATION_REQUEST = 54;
|
2022-08-07 16:25:03 +02:00
|
|
|
SYNC_CONTACT_REQUEST_DECISION = 56;
|
2022-08-22 12:10:31 +02:00
|
|
|
COMMUNITY_REQUEST_TO_LEAVE = 57;
|
2022-09-28 19:42:17 +08:00
|
|
|
SYNC_DELETE_FOR_ME_MESSAGE = 58;
|
2022-09-14 11:46:11 +01:00
|
|
|
SYNC_SAVED_ADDRESS = 59;
|
2022-10-28 11:41:20 +03:00
|
|
|
COMMUNITY_CANCEL_REQUEST_TO_JOIN = 60;
|
2022-12-14 12:27:02 +04:00
|
|
|
CANCEL_CONTACT_VERIFICATION = 61;
|
2023-02-21 13:35:26 +01:00
|
|
|
SYNC_ALL_KEYCARDS = 62;
|
|
|
|
SYNC_KEYCARD_ACTION = 63;
|
2019-12-02 16:34:05 +01:00
|
|
|
}
|
|
|
|
}
|