Удаление сообщений
This commit is contained in:
@@ -6,7 +6,7 @@ export interface UserBasic {
|
||||
displayName: string;
|
||||
avatarUrl: string | null;
|
||||
// Fallbacks for compatibility
|
||||
username?: string;
|
||||
username?: string;
|
||||
avatar?: string | null;
|
||||
}
|
||||
|
||||
@@ -51,11 +51,11 @@ export interface Reaction {
|
||||
id: string;
|
||||
emoji: string;
|
||||
userId: string;
|
||||
user: {
|
||||
id: string;
|
||||
username: string;
|
||||
user: {
|
||||
id: string;
|
||||
username: string;
|
||||
userName?: string;
|
||||
displayName: string;
|
||||
displayName: string;
|
||||
avatar?: string | null;
|
||||
avatarUrl?: string | null;
|
||||
};
|
||||
@@ -84,6 +84,7 @@ export interface Message {
|
||||
storyMediaType?: string | null;
|
||||
isEdited: boolean;
|
||||
isDeleted: boolean;
|
||||
isDeletedForUser?: boolean;
|
||||
scheduledAt?: string | null;
|
||||
createdAt: string;
|
||||
updatedAt?: string;
|
||||
@@ -95,9 +96,9 @@ export interface Message {
|
||||
isDeleted?: boolean;
|
||||
quote?: string | null;
|
||||
media?: MediaItem[];
|
||||
sender: {
|
||||
id: string;
|
||||
username: string;
|
||||
sender: {
|
||||
id: string;
|
||||
username: string;
|
||||
userName?: string;
|
||||
displayName: string;
|
||||
avatar?: string | null;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user