Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:群发视频消息及预览图片消息错误修复 #774

Merged
merged 2 commits into from
Mar 28, 2024

Conversation

wu-weichao
Copy link
Contributor

@wu-weichao wu-weichao commented Mar 28, 2024

  1. 群发图片消息,由于预览接口数据格式和正式发送接口不同,造成预览消息发生失败
// 正式数据格式
{
   "images": {
      "media_ids": [
         "aaa"
      ],
   }
}

// 预览数据格式
{
    "image":{      
         "media_id":"aaa"
    },
}
  1. 视频消息参数名称为mpvideo
{
    "mpvideo":{
          "media_id":"IhdaAQXuvJtGzwwc0abfXnzeezfO0NgPK6AQYShD8RQYMTtfzbLdBIQkQziv2XJc"
     },
}

@wu-weichao wu-weichao changed the title fix:群发图片预览消息无效 fix:群发视频消息及预览图片消息错误修复 Mar 28, 2024
@houseme houseme merged commit 74795e8 into silenceper:v2 Mar 28, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants