【问题标题】:How can I send a message to a whatsapp group using chat-api如何使用 chat-api 向 whatsapp 组发送消息
【发布时间】:2020-10-16 02:04:14
【问题描述】:

您好,我正在使用这个库 (https://github.com/chatapi/whatsApp-php) 通过 whatssapp 发送消息。我看到客户端对象有以下方法:

[0] => getInstance
[1] => sendMessage
[2] => getMessages
[3] => getStatus
[4] => getQrCode
[5] => createGroup
[6] => sendFile
[7] => setWebHook
[8] => getWebHook
[9] => logout
[10] => reboot
[11] => getMessagesQueue
[12] => clearMessagesQueue

问题是:如何向现有组发送消息?有可能使用这个库吗?

谢谢。

【问题讨论】:

    标签: whatsapp


    【解决方案1】:

    php api 好像没满。

    使用原始http api你可以发送dialogs请求,找到chatId的组,然后发送到sendMessage请求。

    【讨论】:

      猜你喜欢
      • 2021-04-01
      • 1970-01-01
      • 2021-12-31
      • 2013-10-08
      • 1970-01-01
      • 2020-11-13
      • 1970-01-01
      • 1970-01-01
      • 2019-11-13
      相关资源
      最近更新 更多