跳转到主要内容
POST
发送实验性交互消息

授权

Authorization
string
header
必填

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

请求头

X-Device-Id
string

多设备支持的设备标识符。 当多个设备被注册时需要. 如果只有一个设备被注册,它将被用作默认。 也可以以 device_id 查询参数提供。

示例:

"my-device-id"

请求体

application/json
phone
string
必填

电话号码或完整的个人用户或组 JID。

body
string
必填

所需的非空白文本,最多4096字节。

buttons
object[]
必填
Required array length: 1 - 10 elements

最大 256 字节。

cards
object[]
Required array length: 2 - 10 elements

响应

接受发送;收件人渲染未验证

code
string
示例:

"SUCCESS"

message
string
示例:

"Success"

results
object