首页 > 解决方案 > 使用 PyWhatKit.sendwhatmsg_to_group 在同一条 WhatsApp 消息中换行

问题描述

我想使用PyWhatKit向一个组发送一条消息,但sendwhatmsg_to_group还没有找到一种可靠的方法来打破消息内部的线路(Shift+Enter操作),因此生成的发送消息类似于:

Hello
World

而不是 Hello 和 World 是单独的消息。我尝试使用\r\n, \n,没有运气。

标签: python-3.x

解决方案


推荐阅读