Skip to content

weixin-ts / bot/src / SendMediaOptions

Interface: SendMediaOptions

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

Options for sending a media message

Properties

contextToken?

optional contextToken?: string

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

Context token (for session continuity)


file

file: ArrayBuffer | Uint8Array<ArrayBufferLike>

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

File content as Uint8Array or ArrayBuffer


fileName?

optional fileName?: string

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

Optional file name (used for FILE type)


text?

optional text?: string

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

Optional text caption


to

to: string

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

Recipient user ID

Released under the MIT License.