Skip to main content

Interface: SendFromLinkOptions

Defined in: client/send-options.ts:37

Options for sendFromLink. The media kind is auto-detected unless type is set.

Extends

  • MiscMessageGenerationOptions

Properties

caption?

optional caption?: string

Defined in: client/send-options.ts:41

Caption for image/video/document.


fileName?

optional fileName?: string

Defined in: client/send-options.ts:43

File name for documents (defaults to the name in the link).


mimetype?

optional mimetype?: string

Defined in: client/send-options.ts:45

MIME type override.


ptt?

optional ptt?: boolean

Defined in: client/send-options.ts:47

Send audio as a voice note.


type?

optional type?: MediaKind

Defined in: client/send-options.ts:39

Force the media kind instead of auto-detecting it from the link.