Skip to main content

Function: downloadContentFromMessage()

downloadContentFromMessage(__namedParameters, type, opts): Promise<Transform>

Defined in: src/Utils/messages-media.ts:461

Parameters

__namedParameters

DownloadableMessage

type

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

opts

MediaDownloadOptions = {}

Returns

Promise<Transform>