fix messaging

This commit is contained in:
tamaina 2021-09-21 01:46:40 +09:00
parent 1243e6a655
commit 941f3c7d70
2 changed files with 8 additions and 2 deletions

View file

@ -2171,7 +2171,10 @@ type MessagingMessage = {
text: string | null;
user: User;
userId: User['id'];
groupId: string;
recipient?: User | null;
recipientId: User['id'] | null;
group?: UserGroup | null;
groupId: UserGroup['id'] | null;
};
// @public (undocumented)

View file

@ -167,7 +167,10 @@ export type MessagingMessage = {
text: string | null;
user: User;
userId: User['id'];
groupId: string; // TODO
recipient?: User | null;
recipientId: User['id'] | null;
group?: UserGroup | null;
groupId: UserGroup['id'] | null;
};
export type CustomEmoji = {