@deltachat/jsonrpc-client
    Preparing search index...

    Type Alias ChatListItemFetchResult

    ChatListItemFetchResult:
        | { kind: "ChatListItem" } & {
            avatarPath: string | null;
            color: string;
            dmChatContact: T.U32 | null;
            freshMessageCounter: Usize;
            id: T.U32;
            isArchived: boolean;
            isBroadcast: boolean;
            isContactRequest: boolean;
            isDeviceTalk: boolean;
            isGroup: boolean;
            isMuted: boolean;
            isPinned: boolean;
            isProtected: boolean;
            isSelfInGroup: boolean;
            isSelfTalk: boolean;
            isSendingLocation: boolean;
            lastMessageId: T.U32 | null;
            lastMessageType: Viewtype | null;
            lastUpdated: I64 | null;
            name: string;
            summaryPreviewImage: string | null;
            summaryStatus: T.U32;
            summaryText1: string;
            summaryText2: string;
            wasSeenRecently: boolean;
        }
        | { kind: "ArchiveLink" } & { freshMessageCounter: Usize }
        | { kind: "Error" } & { error: string; id: T.U32 }

    Type declaration

    • { kind: "ChatListItem" } & {
          avatarPath: string | null;
          color: string;
          dmChatContact: T.U32 | null;
          freshMessageCounter: Usize;
          id: T.U32;
          isArchived: boolean;
          isBroadcast: boolean;
          isContactRequest: boolean;
          isDeviceTalk: boolean;
          isGroup: boolean;
          isMuted: boolean;
          isPinned: boolean;
          isProtected: boolean;
          isSelfInGroup: boolean;
          isSelfTalk: boolean;
          isSendingLocation: boolean;
          lastMessageId: T.U32 | null;
          lastMessageType: Viewtype | null;
          lastUpdated: I64 | null;
          name: string;
          summaryPreviewImage: string | null;
          summaryStatus: T.U32;
          summaryText1: string;
          summaryText2: string;
          wasSeenRecently: boolean;
      }
      • kind: "ChatListItem"
      • avatarPath: string | null
      • color: string
      • dmChatContact: T.U32 | null

        contact id if this is a dm chat (for view profile entry in context menu)

      • freshMessageCounter: Usize
      • id: T.U32
      • isArchived: boolean
      • isBroadcast: boolean

        true when chat is a broadcastlist

      • isContactRequest: boolean
      • isDeviceTalk: boolean
      • isGroup: boolean
      • isMuted: boolean
      • isPinned: boolean
      • isProtected: boolean
      • isSelfInGroup: boolean
      • isSelfTalk: boolean
      • isSendingLocation: boolean
      • lastMessageId: T.U32 | null
      • lastMessageType: Viewtype | null
      • lastUpdated: I64 | null
      • name: string
      • summaryPreviewImage: string | null

        showing preview if last chat message is image

      • summaryStatus: T.U32
      • summaryText1: string
      • summaryText2: string
      • wasSeenRecently: boolean
    • { kind: "ArchiveLink" } & { freshMessageCounter: Usize }
    • { kind: "Error" } & { error: string; id: T.U32 }