Marmot-TS
    Preparing search index...

    Function downloadMessageMedia

    • Attachment failures are local; callers retain the original caption and tags.

      Parameters

      Returns Promise<
          (
              | {
                  attachment: MediaAttachment;
                  data: Uint8Array;
                  error?: undefined;
                  status: "ready";
              }
              | { attachment: MediaAttachment; error: unknown; status: "unavailable" }
          )[],
      >