python-3.x - 使用 PyWhatKit.sendwhatmsg_to_group 在同一条 WhatsApp 消息中换行
问题描述
我想使用PyWhatKit向一个组发送一条消息,但sendwhatmsg_to_group
还没有找到一种可靠的方法来打破消息内部的线路(Shift+Enter
操作),因此生成的发送消息类似于:
Hello
World
而不是 Hello 和 World 是单独的消息。我尝试使用\r\n
, \n
,没有运气。
解决方案
推荐阅读
- java - 是否需要在 module-info.java 和 build.gradle.kts 中指定模块依赖项
- python - 具有空间切片问题的字符串
- php - 无法将 Laravel 与 Pusher 连接起来
- java - 有没有办法将 HashMap 的所有值放入数组中?
- java - 将数字转换为 1 的最小操作
- python - 如何将 RGBA 元组的 2D 矩阵转换为 PIL 图像?
- php - 如何修复 Mercado Libre API 上 PHP 版本的错误
- sql - 如何在 SQL 中使用 Min(date) 过滤掉 Case Statement 中的记录?
- angular - Angular:NgStyle使用input :: first-line突出显示文本框中的单词?
- node.js - 部署后 AWS 弹性 beanstalk Express 服务 502 Bad Gateway