测试音乐信息

This commit is contained in:
liuwei
2025-05-26 14:51:53 +08:00
parent 63e793450c
commit 4ce5fb21fc
2 changed files with 14 additions and 1 deletions

View File

@@ -280,7 +280,7 @@ class MessageMixin(WechatAPIClientBase):
else:
self.error_handler(json_resp)
async def send_voice_message(self, wxid: str, voice: Union[str, bytes, os.PathLike], format: str = "amr") -> \
async def send_voice_message(self, wxid: str, voice: Union[str, bytes, os.PathLike], format: str = "AMR") -> \
tuple[int, int, int]:
"""发送语音消息。