WxConnectorProvider
  1. ActionApi
WxConnectorProvider
  • WxApi
    • 启动微信
      POST
    • 启动监听器
      POST
  • EventApi
    • 事件监听
  • ActionApi
    • 发送文本消息
      POST
    • 发送文件消息
      POST
    • 通过用户名At
      POST
  1. ActionApi

发送文本消息

开发中
POST
/api/Action/sendText
用于向指定的的窗口中发送文本消息

请求参数

Body 参数application/json
Msg
string 
要发送的文本内容
必需
SendWindowTitle
string 
必需
指定消息的发送窗口标题
示例
{
    "Msg": "string",
    "SendWindowTitle": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/Action/sendText' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Msg": "string",
    "SendWindowTitle": "string"
}'

返回响应

🟢200成功
application/json
Body
message
string 
必需
示例
{
    "message": "string"
}
修改于 2025-04-16 03:38:46
上一页
事件监听
下一页
发送文件消息
Built with