weixin-ts / bot/src / GetUpdatesResp
Interface: GetUpdatesResp
Defined in: bot/src/types.ts:182
getUpdates response payload
Properties
errcode?
optionalerrcode?:number
Defined in: bot/src/types.ts:185
Server error code (e.g. -14 = session timeout)
errmsg?
optionalerrmsg?:string
Defined in: bot/src/types.ts:186
get_updates_buf?
optionalget_updates_buf?:string
Defined in: bot/src/types.ts:189
Full context buf to cache locally and send on next request
longpolling_timeout_ms?
optionallongpolling_timeout_ms?:number
Defined in: bot/src/types.ts:191
Server-suggested timeout (ms) for the next long-poll
msgs?
optionalmsgs?:WeixinMessage[]
Defined in: bot/src/types.ts:187
ret?
optionalret?:number
Defined in: bot/src/types.ts:183