export interface ptpUser { id: string; firstName: string; lastName: string; username: string; status?: string; profilePictureUrl?: string; } export interface ptpTestUser { id: string; firstName: string; lastName: string; username: string; status?: string; profilePictureUrl?: string; } export interface responseModel { success: boolean; message: string; response: any; } export interface chat{ id: number; members: ptpUser[]; messages: message[]; displayName: string; } export interface user{ id: string; firstName: string; lastName: string; username: string; chats: chat[]; } export interface message { id: number; chat: chat; sender:user; content: string; timestamp: string; isOwn: boolean; gif: boolean; link: boolean; } export interface tenorGif { url: string, duration: number, preview: string, dims: Array, size: number, } export interface testType { nanogif: tenorGif, mediumgif: tenorGif, } export interface tenorResponseElement { id: string, title: string, media_formats: testType, } export interface tenorResponse { results: Array, } export interface profilePicture { shortName: string; url: string; }