More protobufjs migration

This commit is contained in:
Fedor Indutny 2021-07-09 12:36:10 -07:00 committed by GitHub
parent cf06e6638e
commit ddbbe3a6b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
70 changed files with 3967 additions and 3369 deletions

4
ts/model-types.d.ts vendored
View file

@ -58,7 +58,7 @@ export type QuotedMessageType = {
author?: string;
authorUuid?: string;
bodyRanges?: BodyRangesType;
id: string;
id: number;
referencedMessageNotFound: boolean;
isViewOnce: boolean;
text?: string;
@ -190,6 +190,8 @@ export type MessageAttributesType = {
// Backwards-compatibility with prerelease data schema
invitedGV2Members?: Array<GroupV2PendingMemberType>;
droppedGV2MemberIds?: Array<string>;
sendHQImages?: boolean;
};
export type ConversationAttributesTypeType = 'private' | 'group';