interface ConversationAttributes { members: Array; left: boolean; expireTimer: number; profileSharing: boolean; mentionedUs: boolean; unreadCount: number; isArchived: boolean; active_at: number; timestamp: number; // timestamp of what? } export interface ConversationModel extends Backbone.Model { setFriendRequestStatus: (status: any) => Promise; idForLogging: () => string; saveChangesToDB: () => Promise; notifyFriendRequest: (source: string, type: string) => Promise; notify: (message: MessageModel) => void; isSessionResetReceived: () => boolean; updateExpirationTimer: ( expireTimer: number | null, source: string, receivedAt: number, options: object ) => void; isPrivate: () => boolean; setProfileKey: (key: string) => void; isMe: () => boolean; getRecipients: () => Array; onReadMessage: (message: MessageModel) => void; updateTextInputState: () => void; isFriend: () => boolean; hasSentFriendRequest: () => boolean; onFriendRequestAccepted: () => Promise; onFriendRequestReceived: () => Promise; lastMessage: string; }