4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-01 19:26:17 +00:00

Update dependencies and fix whatsmeow API changes (#1887)

* Update dependencies

* Fix whatsmau API changes
This commit is contained in:
Wim
2022-09-05 21:00:54 +02:00
committed by GitHub
parent 7abf1a5884
commit fda05f2262
44 changed files with 2008 additions and 1703 deletions

File diff suppressed because it is too large Load Diff

View File

@ -358,6 +358,7 @@ message HistorySyncNotification {
FULL = 2;
RECENT = 3;
PUSH_NAME = 4;
NON_BLOCKING_DATA = 5;
}
optional bytes fileSha256 = 1;
optional uint64 fileLength = 2;
@ -1014,6 +1015,7 @@ message SendPaymentMessage {
enum RmrSource {
FAVORITE_STICKER = 0;
RECENT_STICKER = 1;
RECENT_STICKER_INIT = 2;
}
message RequestPhoneNumberMessage {
optional ContextInfo contextInfo = 1;
@ -1132,6 +1134,7 @@ message StickerMetadata {
optional string directPath = 8;
optional uint64 fileLength = 9;
optional float weight = 10;
optional int64 lastStickerSentTs = 11;
}
message Pushname {
@ -1140,7 +1143,7 @@ message Pushname {
}
message PastParticipants {
required string groupJid = 1;
optional string groupJid = 1;
repeated PastParticipant pastParticipants = 2;
}
@ -1149,9 +1152,9 @@ message PastParticipant {
LEFT = 0;
REMOVED = 1;
}
required string userJid = 1;
required LeaveReason leaveReason = 2;
required uint64 leaveTs = 3;
optional string userJid = 1;
optional LeaveReason leaveReason = 2;
optional uint64 leaveTs = 3;
}
enum MediaVisibility {
@ -1166,7 +1169,7 @@ message HistorySync {
FULL = 2;
RECENT = 3;
PUSH_NAME = 4;
UNBLOCKING_DATA = 5;
NON_BLOCKING_DATA = 5;
}
required HistorySyncType syncType = 1;
repeated Conversation conversations = 2;
@ -1297,6 +1300,7 @@ message MsgOpaqueData {
repeated PollOption pollOptions = 18;
optional uint32 pollSelectableOptionsCount = 20;
optional bytes messageSecret = 21;
optional string originalSelfAuthorJid = 51;
optional int64 senderTimestampMs = 22;
optional string pollUpdateParentKey = 23;
optional PollEncValue encPollVote = 24;
@ -1481,6 +1485,10 @@ message SecurityNotificationSetting {
optional bool showNotification = 1;
}
message RemoveRecentStickerAction {
optional int64 lastStickerSentTs = 1;
}
message RecentEmojiWeightsAction {
repeated RecentEmojiWeight weights = 1;
}
@ -2006,6 +2014,8 @@ message WebMessageInfo {
COMMUNITY_PARTICIPANT_PROMOTE = 147;
COMMUNITY_PARTICIPANT_DEMOTE = 148;
COMMUNITY_PARENT_GROUP_DELETED = 149;
COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL = 150;
GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP = 151;
}
enum Status {
ERROR = 0;