Function downloadMediaMessage

  • Downloads the given message. Throws an error if it's not a media message

    Type Parameters

    • Type extends "stream" | "buffer"

    Parameters

    Returns Promise<Type extends "buffer"
        ? Buffer
        : Transform>

Generated using TypeDoc