通过微信在指定时间向联系人发送定时消息。当用户提到定时发微信、微信定时消息、预约发微信时使用。
在指定时间发送消息给指定联系人
通过微信自动化,在指定时间向联系人发送一条消息(定时消息)。
office/skills/wechat/send_message_by_time/
from skills.wechat import send_message_by_time
send_message_by_time(
who='文件传输助手',
message='该起床了',
time='08:00:00'
)| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
who | str | 是 | - | 接收消息的联系人名称 |
message | str | 是 | - | 要发送的消息内容 |
time | str | 是 | - | 发送消息的预定时间 |
None
from skills.wechat import send_message_by_time
send_message_by_time(who='文件传输助手', message='早安', time='08:00:00')office.api.wechat.send_message_by_time
dd6fe56
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.