Rename ContactType to EmbeddedContactType

This commit is contained in:
Fedor Indutny 2021-08-19 18:56:39 -07:00 committed by GitHub
parent 017a0fa807
commit fe040a2873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 46 additions and 42 deletions

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

@ -23,7 +23,7 @@ import {
import { GroupNameCollisionsWithIdsByTitle } from './util/groupMemberNameCollisions';
import { ConversationColorType } from './types/Colors';
import { AttachmentType, ThumbnailType } from './types/Attachment';
import { ContactType } from './types/Contact';
import { EmbeddedContactType } from './types/EmbeddedContact';
import { SignalService as Proto } from './protobuf';
import { AvatarDataType } from './types/Avatar';
@ -156,7 +156,7 @@ export type MessageAttributesType = {
};
sent_at: number;
unidentifiedDeliveries?: Array<string>;
contact?: Array<ContactType>;
contact?: Array<EmbeddedContactType>;
conversationId: string;
reaction?: WhatIsThis;