Type aliases
AccessToken
AccessToken: { accessToken: string; expiresIn: number }
Type declaration
accessToken: string
expiresIn: number
Article
Article: { description: string; picurl: string; title: string; url: string }
Type declaration
description: string
picurl: string
title: string
url: string
ClientConfig
ClientConfig: { appId: string; appSecret: string; onRequest?: OnRequestFunction; origin?: string }
Type declaration
appId: string
appSecret: string
Optional onRequest?: OnRequestFunction
Optional origin?: string
FailedResponseData
FailedResponseData: { errcode: number; errmsg: string }
Type declaration
errcode: number
errmsg: string
Media
Media: { videoUrl: string }
MiniProgramPage
MiniProgramPage: { appid: string; pagepath: string; thumbMediaId: string; title: string }
Type declaration
appid: string
pagepath: string
thumbMediaId: string
title: string
MsgMenu
MsgMenu: { headContent: string; list: { content: string; id: string }[]; tailContent: string }
Type declaration
headContent: string
list: { content: string; id: string }[]
tailContent: string
Music
Music: { description: string; hqmusicurl: string; musicurl: string; thumbMediaId: string; title: string }
Type declaration
description: string
hqmusicurl: string
musicurl: string
thumbMediaId: string
title: string
SendMessageOptions
SendMessageOptions: { customservice?: { kfAccount: string } }
Type declaration
Optional customservice?: { kfAccount: string }
SucceededResponseData
SucceededResponseData: { errcode: 0; errmsg: "ok" }
UploadedMedia
UploadedMedia: { createdAt: number; mediaId: string; type: string }
Type declaration
createdAt: number
mediaId: string
type: string
Video
Video: { description: string; mediaId: string; thumbMediaId: string; title: string }
Type declaration
description: string
mediaId: string
thumbMediaId: string
title: string