fix: MessagingMessageの型を修正 #28
2 changed files with 8 additions and 2 deletions
|
@ -2171,7 +2171,10 @@ type MessagingMessage = {
|
||||||
text: string | null;
|
text: string | null;
|
||||||
user: User;
|
user: User;
|
||||||
userId: User['id'];
|
userId: User['id'];
|
||||||
groupId: string;
|
recipient?: User | null;
|
||||||
|
recipientId: User['id'] | null;
|
||||||
|
group?: UserGroup | null;
|
||||||
|
groupId: UserGroup['id'] | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
// @public (undocumented)
|
// @public (undocumented)
|
||||||
|
|
|
@ -167,7 +167,10 @@ export type MessagingMessage = {
|
||||||
text: string | null;
|
text: string | null;
|
||||||
user: User;
|
user: User;
|
||||||
userId: User['id'];
|
userId: User['id'];
|
||||||
groupId: string; // TODO
|
recipient?: User | null;
|
||||||
|
recipientId: User['id'] | null;
|
||||||
|
group?: UserGroup | null;
|
||||||
|
groupId: UserGroup['id'] | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CustomEmoji = {
|
export type CustomEmoji = {
|
||||||
|
|
Reference in a new issue