|
@@ -362,6 +362,41 @@ type RefreshLoginQRResp struct {
|
|
|
Data LoginQRStatus `json:"data,optional"`
|
|
|
}
|
|
|
|
|
|
+// 发送微信文本消息请求参数
|
|
|
+// swagger:model SendTextMsgReq
|
|
|
+type SendTextMsgReq struct {
|
|
|
+ // 属主微信id
|
|
|
+ WxWxid *string `json:"wxWxid"`
|
|
|
+ // 微信id 公众号微信ID
|
|
|
+ Wxid *string `json:"wxid"`
|
|
|
+ // 微信文本消息内容
|
|
|
+ Msg *string `json:"msg"`
|
|
|
+}
|
|
|
+
|
|
|
+// 发送微信图片消息请求参数
|
|
|
+// swagger:model SendPicMsgReq
|
|
|
+type SendPicMsgReq struct {
|
|
|
+ // 属主微信id
|
|
|
+ WxWxid *string `json:"wxWxid"`
|
|
|
+ // 微信id 公众号微信ID
|
|
|
+ Wxid *string `json:"wxid"`
|
|
|
+ // 微信图片路径(本地或网络,本地需要上传操作,如:C:\\x.jpg)
|
|
|
+ Picpath *string `json:"picpath"`
|
|
|
+ // 微信图片自定义名称(此属性只有网络图片有)
|
|
|
+ Diyfilename *string `json:"diyfilename,optional"`
|
|
|
+}
|
|
|
+
|
|
|
+// 发送微信图片(本地)请求参数
|
|
|
+// swagger:model SendPicMsgLocalReq
|
|
|
+type SendPicMsgLocalReq struct {
|
|
|
+ // 属主微信id
|
|
|
+ WxWxid *string `json:"wxWxid"`
|
|
|
+ // 微信id 公众号微信ID
|
|
|
+ Wxid *string `json:"wxid"`
|
|
|
+ // 微信图片路径(本地或网络,本地需要上传操作,如:C:\\x.jpg)
|
|
|
+ Picpath *string `json:"picpath"`
|
|
|
+}
|
|
|
+
|
|
|
// The response data of contact information | Contact信息
|
|
|
// swagger:model ContactInfo
|
|
|
type ContactInfo struct {
|
|
@@ -435,3 +470,49 @@ type ContactInfoResp struct {
|
|
|
// Contact information | Contact数据
|
|
|
Data ContactInfo `json:"data"`
|
|
|
}
|
|
|
+
|
|
|
+// The response data of message information | Message信息
|
|
|
+// swagger:model MessageInfo
|
|
|
+type MessageInfo struct {
|
|
|
+ BaseIDInfo
|
|
|
+ // 属主微信id
|
|
|
+ WxWxid *string `json:"wxWxid"`
|
|
|
+ // 微信id 公众号微信ID
|
|
|
+ Wxid *string `json:"wxid"`
|
|
|
+ // 微信消息内容
|
|
|
+ Msg *string `json:"msg"`
|
|
|
+}
|
|
|
+
|
|
|
+// The response data of message list | Message列表数据
|
|
|
+// swagger:model MessageListResp
|
|
|
+type MessageListResp struct {
|
|
|
+ BaseDataInfo
|
|
|
+ // Message list data | Message列表数据
|
|
|
+ Data MessageListInfo `json:"data"`
|
|
|
+}
|
|
|
+
|
|
|
+// Message list data | Message列表数据
|
|
|
+// swagger:model MessageListInfo
|
|
|
+type MessageListInfo struct {
|
|
|
+ BaseListInfo
|
|
|
+ // The API list data | Message列表数据
|
|
|
+ Data []MessageInfo `json:"data"`
|
|
|
+}
|
|
|
+
|
|
|
+// Get message list request params | Message列表请求参数
|
|
|
+// swagger:model MessageListReq
|
|
|
+type MessageListReq struct {
|
|
|
+ PageInfo
|
|
|
+ // 属主微信id
|
|
|
+ WxWxid *string `json:"wxWxid,optional"`
|
|
|
+ // 微信id 公众号微信ID
|
|
|
+ Wxid *string `json:"wxid,optional"`
|
|
|
+}
|
|
|
+
|
|
|
+// Message information response | Message信息返回体
|
|
|
+// swagger:model MessageInfoResp
|
|
|
+type MessageInfoResp struct {
|
|
|
+ BaseDataInfo
|
|
|
+ // Message information | Message数据
|
|
|
+ Data MessageInfo `json:"data"`
|
|
|
+}
|