Skip to content

weixin-ts / bot/src / api / SendMessageOptions

Interface: SendMessageOptions

Defined in: bot/src/api/send-message.ts:12

Common options for API requests

Extends

Properties

appId?

optional appId?: string

Defined in: bot/src/api/client.ts:21

iLink App ID

Inherited from

ApiClientOptions.appId


baseUrl

baseUrl: string

Defined in: bot/src/api/client.ts:15

API base URL

Inherited from

ApiClientOptions.baseUrl


body

body: SendMessageReq

Defined in: bot/src/api/send-message.ts:14

The message request body


timeoutMs?

optional timeoutMs?: number

Defined in: bot/src/api/client.ts:19

Request timeout in ms

Inherited from

ApiClientOptions.timeoutMs


token?

optional token?: string

Defined in: bot/src/api/client.ts:17

Bot authentication token

Inherited from

ApiClientOptions.token


version?

optional version?: string

Defined in: bot/src/api/client.ts:23

Client version

Inherited from

ApiClientOptions.version

Released under the MIT License.