summaryrefslogtreecommitdiffstats
path: root/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto
diff options
context:
space:
mode:
authorWim <wim@42.be>2023-03-09 22:48:00 +0100
committerGitHub <noreply@github.com>2023-03-09 22:48:00 +0100
commit08779c29099e8940493df56d28d8aa131ac8342e (patch)
tree7ad8ce25cf371e582137e1706dd671a6bf4342d0 /vendor/go.mau.fi/whatsmeow/binary/proto/def.proto
parentd5f9cdf912d43cd2a5cb243e086fbdab9a9073b0 (diff)
downloadmatterbridge-msglm-08779c29099e8940493df56d28d8aa131ac8342e.tar.gz
matterbridge-msglm-08779c29099e8940493df56d28d8aa131ac8342e.tar.bz2
matterbridge-msglm-08779c29099e8940493df56d28d8aa131ac8342e.zip
Update dependencies (#2007)
* Update dependencies
Diffstat (limited to 'vendor/go.mau.fi/whatsmeow/binary/proto/def.proto')
-rw-r--r--vendor/go.mau.fi/whatsmeow/binary/proto/def.proto135
1 files changed, 101 insertions, 34 deletions
diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto b/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto
index b72ab79c..cdfc0c35 100644
--- a/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto
+++ b/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto
@@ -47,6 +47,10 @@ message DeviceProps {
ALOHA = 11;
CATALINA = 12;
TCL_TV = 13;
+ IOS_PHONE = 14;
+ IOS_CATALYST = 15;
+ ANDROID_PHONE = 16;
+ ANDROID_AMBIGUOUS = 17;
}
message HistorySyncConfig {
optional uint32 fullSyncDaysLimit = 1;
@@ -69,33 +73,6 @@ message DeviceProps {
optional HistorySyncConfig historySyncConfig = 5;
}
-enum PeerDataOperationRequestType {
- UPLOAD_STICKER = 0;
- SEND_RECENT_STICKER_BOOTSTRAP = 1;
- GENERATE_LINK_PREVIEW = 2;
-}
-message PeerDataOperationRequestResponseMessage {
- message PeerDataOperationResult {
- message LinkPreviewResponse {
- optional string url = 1;
- optional string title = 2;
- optional string description = 3;
- optional bytes thumbData = 4;
- optional string canonicalUrl = 5;
- optional string matchText = 6;
- optional string previewType = 7;
- }
-
- optional MediaRetryNotification.ResultType mediaUploadResult = 1;
- optional StickerMessage stickerMessage = 2;
- optional LinkPreviewResponse linkPreviewResponse = 3;
- }
-
- optional PeerDataOperationRequestType peerDataOperationRequestType = 1;
- optional string stanzaId = 2;
- repeated PeerDataOperationResult peerDataOperationResult = 3;
-}
-
message PeerDataOperationRequestMessage {
message RequestUrlPreview {
optional string url = 1;
@@ -105,9 +82,18 @@ message PeerDataOperationRequestMessage {
optional string fileSha256 = 1;
}
+ message HistorySyncOnDemandRequest {
+ optional string chatJid = 1;
+ optional string oldestMsgId = 2;
+ optional bool oldestMsgFromMe = 3;
+ optional int32 onDemandMsgCount = 4;
+ optional int64 oldestMsgTimestampMs = 5;
+ }
+
optional PeerDataOperationRequestType peerDataOperationRequestType = 1;
repeated RequestStickerReupload requestStickerReupload = 2;
repeated RequestUrlPreview requestUrlPreview = 3;
+ optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4;
}
message PaymentInviteMessage {
@@ -376,6 +362,7 @@ message HistorySyncNotification {
RECENT = 3;
PUSH_NAME = 4;
NON_BLOCKING_DATA = 5;
+ ON_DEMAND = 6;
}
optional bytes fileSha256 = 1;
optional uint64 fileLength = 2;
@@ -485,6 +472,11 @@ message ExtendedTextMessage {
BRYNDAN_WRITE = 3;
BEBASNEUE_REGULAR = 4;
OSWALD_HEAVY = 5;
+ DAMION_REGULAR = 6;
+ MORNINGBREEZE_REGULAR = 7;
+ CALISTOGA_REGULAR = 8;
+ EXO2_EXTRABOLD = 9;
+ COURIERPRIME_BOLD = 10;
}
optional string text = 1;
optional string matchedText = 2;
@@ -652,6 +644,7 @@ message AudioMessage {
optional bytes streamingSidecar = 18;
optional bytes waveform = 19;
optional fixed32 backgroundArgb = 20;
+ optional bool viewOnce = 21;
}
message AppStateSyncKey {
@@ -730,6 +723,11 @@ message HydratedTemplateButton {
}
}
+message GroupMention {
+ optional string groupJid = 1;
+ optional string groupSubject = 2;
+}
+
message DisappearingMode {
enum Initiator {
CHANGED_IN_CHAT = 0;
@@ -749,6 +747,11 @@ message DeviceListMetadata {
}
message ContextInfo {
+ message UTMInfo {
+ optional string utmSource = 1;
+ optional string utmCampaign = 2;
+ }
+
message ExternalAdReplyInfo {
enum MediaType {
NONE = 0;
@@ -808,6 +811,8 @@ message ContextInfo {
optional string trustBannerType = 37;
optional uint32 trustBannerAction = 38;
optional bool isSampled = 39;
+ repeated GroupMention groupMentions = 40;
+ optional UTMInfo utm = 41;
}
message ActionLink {
@@ -928,6 +933,12 @@ message Message {
optional FutureProofMessage editedMessage = 58;
optional FutureProofMessage viewOnceMessageV2Extension = 59;
optional PollCreationMessage pollCreationMessageV2 = 60;
+ optional ScheduledCallCreationMessage scheduledCallCreationMessage = 61;
+ optional FutureProofMessage groupMentionedMessage = 62;
+ optional PinMessage pinMessage = 63;
+ optional PollCreationMessage pollCreationMessageV3 = 64;
+ optional ScheduledCallEditMessage scheduledCallEditMessage = 65;
+ optional VideoMessage ptvMessage = 66;
}
message MessageContextInfo {
@@ -1050,6 +1061,26 @@ message SendPaymentMessage {
optional PaymentBackground background = 4;
}
+message ScheduledCallEditMessage {
+ enum EditType {
+ UNKNOWN = 0;
+ CANCEL = 1;
+ }
+ optional MessageKey key = 1;
+ optional EditType editType = 2;
+}
+
+message ScheduledCallCreationMessage {
+ enum CallType {
+ UNKNOWN = 0;
+ VOICE = 1;
+ VIDEO = 2;
+ }
+ optional int64 scheduledTimestampMs = 1;
+ optional CallType callType = 2;
+ optional string title = 3;
+}
+
message RequestPhoneNumberMessage {
optional ContextInfo contextInfo = 1;
}
@@ -1163,6 +1194,45 @@ message PollCreationMessage {
optional ContextInfo contextInfo = 5;
}
+message PinMessage {
+ enum PinMessageType {
+ UNKNOWN_PIN_MESSAGE_TYPE = 0;
+ PIN_FOR_ALL = 1;
+ UNPIN_FOR_ALL = 2;
+ }
+ optional MessageKey key = 1;
+ optional PinMessageType pinMessageType = 2;
+ optional int64 senderTimestampMs = 3;
+}
+
+enum PeerDataOperationRequestType {
+ UPLOAD_STICKER = 0;
+ SEND_RECENT_STICKER_BOOTSTRAP = 1;
+ GENERATE_LINK_PREVIEW = 2;
+ HISTORY_SYNC_ON_DEMAND = 3;
+}
+message PeerDataOperationRequestResponseMessage {
+ message PeerDataOperationResult {
+ message LinkPreviewResponse {
+ optional string url = 1;
+ optional string title = 2;
+ optional string description = 3;
+ optional bytes thumbData = 4;
+ optional string canonicalUrl = 5;
+ optional string matchText = 6;
+ optional string previewType = 7;
+ }
+
+ optional MediaRetryNotification.ResultType mediaUploadResult = 1;
+ optional StickerMessage stickerMessage = 2;
+ optional LinkPreviewResponse linkPreviewResponse = 3;
+ }
+
+ optional PeerDataOperationRequestType peerDataOperationRequestType = 1;
+ optional string stanzaId = 2;
+ repeated PeerDataOperationResult peerDataOperationResult = 3;
+}
+
message EphemeralSetting {
optional sfixed32 duration = 1;
optional sfixed64 timestamp = 2;
@@ -1220,6 +1290,7 @@ message HistorySync {
RECENT = 3;
PUSH_NAME = 4;
NON_BLOCKING_DATA = 5;
+ ON_DEMAND = 6;
}
required HistorySyncType syncType = 1;
repeated Conversation conversations = 2;
@@ -1303,8 +1374,8 @@ message Conversation {
optional string description = 33;
optional bool support = 34;
optional bool isParentGroup = 35;
- optional bool isDefaultSubgroup = 36;
optional string parentGroupId = 37;
+ optional bool isDefaultSubgroup = 36;
optional string displayName = 38;
optional string pnJid = 39;
optional bool shareOwnPn = 40;
@@ -1831,6 +1902,7 @@ message ClientPayload {
WEAROS = 29;
ARDEVICE = 30;
VRDEVICE = 31;
+ BLUE_WEB = 32;
}
message AppVersion {
optional uint32 primary = 1;
@@ -1912,11 +1984,6 @@ message ClientPayload {
NETWORK_SWITCH = 4;
PING_RECONNECT = 5;
}
- enum BizMarketSegment {
- DEFAULT = 0;
- DEVX = 1;
- INBOX = 2;
- }
optional uint64 username = 1;
optional bool passive = 3;
optional UserAgent userAgent = 5;
@@ -1941,7 +2008,6 @@ message ClientPayload {
optional bytes fbDeviceId = 32;
optional bool pull = 33;
optional bytes paddingBytes = 34;
- optional BizMarketSegment bizMarketSegment = 35;
optional int32 yearClass = 36;
optional int32 memClass = 37;
}
@@ -2258,6 +2324,7 @@ message PollUpdate {
optional PollVoteMessage vote = 2;
optional int64 senderTimestampMs = 3;
optional int64 serverTimestampMs = 4;
+ optional bool unread = 5;
}
message PollAdditionalMetadata {