Class Document

Hierarchy

  • BaseEntity
    • Document

Constructors

Properties

raw: IDocumentMessage

Accessors

Methods

  • Fetch encrypted url file.

    Returns

    Parameters

    • type: "image" | "video" | "audio" | "ptt" | "sticker" | "document" | "product" | "gif" | "ppic" | "thumbnail-document" | "thumbnail-image" | "thumbnail-video" | "thumbnail-link" | "md-msg-hist" | "md-app-state" | "product-catalog-image" | "payment-bg-image"

      Media Type (e.g sticker, video, image)

    Returns Promise<Buffer>

Generated using TypeDoc