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