diff --git a/test-cases/thread-merge-chat-update-message.binproto b/test-cases/thread-merge-chat-update-message.binproto new file mode 100644 index 0000000..a44c315 Binary files /dev/null and b/test-cases/thread-merge-chat-update-message.binproto differ diff --git a/test-cases/thread-merge-chat-update-message.jsonproto b/test-cases/thread-merge-chat-update-message.jsonproto new file mode 100644 index 0000000..dd70550 --- /dev/null +++ b/test-cases/thread-merge-chat-update-message.jsonproto @@ -0,0 +1,79 @@ +// Includes a "thread merge" chat update message. +[ + { + "backupTimeMs": "123456", + "version": "1" + }, + { + "account": { + "profileKey": "YQKRq+3DQklInaOaMcmlzZnN0m/1hzLiaONX7gB12dg=", + "givenName": "Boba", + "familyName": "Fett", + "avatarUrlPath": "", + "accountSettings": { + "readReceipts": false, + "sealedSenderIndicators": true, + "typingIndicators": false, + "linkPreviews": false, + "notDiscoverableByPhoneNumber": false, + "preferContactAvatars": false, + "universalExpireTimerSeconds": 0, + "preferredReactionEmoji": [], + "displayBadgesOnProfile": false, + "keepMutedChatsArchived": false, + "hasSetMyStoriesPrivacy": false, + "hasViewedOnboardingStory": false, + "storiesDisabled": false, + "storyViewReceiptsEnabled": false, + "hasSeenGroupStoryEducationSheet": false, + "hasCompletedUsernameOnboarding": false, + "phoneNumberSharingMode": "NOBODY" + } + } + }, + { + "recipient": { + "id": "1", + "self": {} + } + }, + { + "recipient": { + "id": "2", + "releaseNotes": {} + } + }, + { + "recipient": { + "id": "3", + "contact": { + "aci": "X4xWjQEZR72BqruHybcZlQ==", + "profileKey": "YtHHVK+Wo4nPcVpWhC3roMEDu2Tw6kYc9JpLRMq1Q94=", + "profileSharing": true, + "profileFamilyName": "Solo", + "profileGivenName": "Han", + "registered": {}, + "hideStory": false, + } + } + }, + { + "chat": { + "id": "1", + "recipientId": "3" + } + }, + { + "chatItem": { + "authorId": "3", + "chatId": "1", + "dateSent": "1", + "directionless": {}, + "updateMessage": { + "threadMerge": { + "previousE164": 17735550199 + } + } + } + }, +]