feat: Add chat embeds v1
Youtube and Website metadata embeds
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
export const DELETED_MESSAGE_CONTENT = '[Message deleted]';
|
||||
|
||||
export interface LinkMetadata {
|
||||
url: string;
|
||||
title?: string;
|
||||
description?: string;
|
||||
imageUrl?: string;
|
||||
siteName?: string;
|
||||
failed?: boolean;
|
||||
}
|
||||
|
||||
export interface Message {
|
||||
id: string;
|
||||
roomId: string;
|
||||
@@ -12,6 +21,7 @@ export interface Message {
|
||||
reactions: Reaction[];
|
||||
isDeleted: boolean;
|
||||
replyToId?: string;
|
||||
linkMetadata?: LinkMetadata[];
|
||||
}
|
||||
|
||||
export interface Reaction {
|
||||
|
||||
Reference in New Issue
Block a user