wechaty / python-wechaty

Python Wechaty is a Conversational RPA SDK for Chatbot Makers written in Python
https://wechaty.readthedocs.io/zh_CN/latest/
Apache License 2.0
1.55k stars 229 forks source link

[Bug]: 无法修改群聊名称 #382

Open NineSpinZ opened 1 year ago

NineSpinZ commented 1 year ago

Environment

- wechaty:
- wechaty-puppet: 
- wechaty-puppet-service: 
- wechaty-plugin-contrib: 
- token type: padlocal|wxwork|xp
- the version of wechaty docker container: [0.65]

Description

执行了修改群名称的代码,但是微信群中并没有生效,群名称并没有真正的被修改。

Minimum reproducible code

async def on_message(self, msg: Message):
    room = msg.room()
    new_topic = "ttt"

    rs = await room.topic(new_topic=new_topic)
    topic = await room.topic()