为了发送一条常规消息,我使用-
const uri = `https://api.telegram.org/bot${token}/sendMessage?chat_id=${channelId}&text=${text}`;
await fetch(uri);
但是如何发送计划消息呢?
发布于 2020-04-30 21:13:26
机器人无法调度消息,在文档中有相应的错误:https://core.telegram.org/method/messages.sendMessage (请参阅SCHEDULE_BOT_NOT_ALLOWED)
因此,唯一的选择就是使用您这边的任何调度工具计划发送
https://stackoverflow.com/questions/61483408
复制相似问题