weixin-ts / bot/src / SendMediaOptions
Interface: SendMediaOptions
Defined in: bot/src/types.ts:328
Options for sending a media message
Properties
contextToken?
optionalcontextToken?: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?
optionalfileName?:string
Defined in: bot/src/types.ts:334
Optional file name (used for FILE type)
text?
optionaltext?:string
Defined in: bot/src/types.ts:336
Optional text caption
to
to:
string
Defined in: bot/src/types.ts:330
Recipient user ID