@japofc/baileys - v2.4.7
    Preparing search index...

    Function downloadAndProcessHistorySyncNotification

    • Parameters

      • msg: any
      • options: any
      • logger: any

      Returns Promise<
          | {
              chats: any[];
              contacts: any[];
              lidPnMappings: any[];
              messages: any[];
              pastParticipants?: undefined;
              progress?: undefined;
              syncType?: undefined;
          }
          | {
              chats: any[];
              contacts: (
                  | {
                      id: any;
                      lid: any;
                      name: any;
                      notify?: undefined;
                      phoneNumber: any;
                      username: any;
                      verifiedName?: undefined;
                  }
                  | {
                      id: any;
                      lid?: undefined;
                      name?: undefined;
                      notify?: undefined;
                      phoneNumber?: undefined;
                      username?: undefined;
                      verifiedName: any;
                  }
                  | {
                      id: any;
                      lid?: undefined;
                      name?: undefined;
                      notify: any;
                      phoneNumber?: undefined;
                      username?: undefined;
                      verifiedName?: undefined;
                  }
              )[];
              lidPnMappings: { lid: any; pn: any }[];
              messages: any[];
              pastParticipants: any;
              progress: any;
              syncType: any;
          },
      >