测试音乐信息

This commit is contained in:
liuwei
2025-05-26 15:11:17 +08:00
parent d403de5f45
commit 56c5a0e3c5

View File

@@ -338,7 +338,7 @@ class MessageMixin(WechatAPIClientBase):
duration = len(audio)
# Type AMR = 0, MP3 = 2, SILK = 4, SPEEX = 1, WAVE = 3 VoiceTime :音频长度 1000为一秒
format_dict = {"amr": 0, "wave": 3, "mpe3": 2, "silk": 4, "speex": 1}
format_dict = {"amr": 0, "wave": 3, "mp3": 2, "silk": 4, "speex": 1}
# {
# "Base64": "string",
# "ToWxid": "string",