wechaty-puppet-puppeteer room.del(from)踢人无效

Created on 17 Aug 2018  ·  6Comments  ·  Source: wechaty/wechaty

Provide Your Network Information

  1. Where is the location of your server? (i.e. City, or In/Out China)
    My Home
  2. Which cloud platform(AliYun/Qcloud/DigitalOcean/etc) are you using?
    My Windows 10
    //---------------------------------------------------------------------
    myWeixinBot.on('message', async function (msg) {
    const from = msg.from()
    const room = msg.room()
    if (room) {
    let result = await room.del(from);
    if (result) {
    console.log(remove ${from.name()} from ${room.topic()} successfully!)
    } else {
    console.log(failed to remove ${from.name()} from ${room.topic()}!)
    }
    }
    }
    //-------------------------------------------------------------------------
    踢人总是失败。
question

Most helpful comment

找到原因了:微信Web版本已经取消了群中踢人、从群中加人、拉人进群。

All 6 comments

Wechaty start() v0.18.5

Wechaty start() v0.19.161

找到原因了:微信Web版本已经取消了群中踢人、从群中加人、拉人进群。

现在Web版越来越鸡肋了,在Web版本上开发,已经没有什么价值了。

So maybe you need to change to ipad solution :)

Close this issue because the question was answered.

Was this page helpful?
0 / 5 - 0 ratings