Информация о звонках в чате
This commit is contained in:
@@ -108,6 +108,9 @@ export interface Message {
|
||||
media: MediaItem[];
|
||||
reactions: Reaction[];
|
||||
readBy: Array<{ userId: string }>;
|
||||
callType?: 'voice' | 'video' | string | null;
|
||||
callStatus?: 'missed' | 'completed' | 'cancelled' | 'declined' | string | null;
|
||||
duration?: number | null;
|
||||
}
|
||||
|
||||
export interface Chat {
|
||||
|
||||
@@ -109,6 +109,11 @@ const translations = {
|
||||
endCall: 'Завершить',
|
||||
callEnded: 'Звонок завершён',
|
||||
callDeclined: 'Звонок отклонён',
|
||||
audioCall: 'Голосовой звонок',
|
||||
missedCall: 'Пропущенный звонок',
|
||||
declinedCall: 'Отклонённый звонок',
|
||||
cancelledCall: 'Отменённый звонок',
|
||||
completedCall: 'Вызов завершён',
|
||||
// Photo/video
|
||||
photoVideo: 'Фото / видео',
|
||||
fileBtn: 'Файл',
|
||||
@@ -470,6 +475,11 @@ const translations = {
|
||||
endCall: 'End call',
|
||||
callEnded: 'Call ended',
|
||||
callDeclined: 'Call declined',
|
||||
audioCall: 'Audio call',
|
||||
missedCall: 'Missed call',
|
||||
declinedCall: 'Declined call',
|
||||
cancelledCall: 'Cancelled call',
|
||||
completedCall: 'Call completed',
|
||||
photoVideo: 'Photo / video',
|
||||
fileBtn: 'File',
|
||||
sendError: 'Send error',
|
||||
|
||||
Reference in New Issue
Block a user