Skip to content

weixin-ts / bot/src / SendMediaOptions

Interface: SendMediaOptions

Defined in: bot/src/types.ts:328

Options for sending a media message

Properties

contextToken?

optional contextToken?: string

Defined in: bot/src/types.ts:338

Context token (for session continuity)


file

file: ArrayBuffer | Uint8Array<ArrayBufferLike>

Defined in: bot/src/types.ts:332

File content as Uint8Array or ArrayBuffer


fileName?

optional fileName?: string

Defined in: bot/src/types.ts:334

Optional file name (used for FILE type)


text?

optional text?: string

Defined in: bot/src/types.ts:336

Optional text caption


to

to: string

Defined in: bot/src/types.ts:330

Recipient user ID

Released under the MIT License.