[英]Send schedule message to telegram channel by bot telegram API nodejs
為了發送常規消息,我使用 -
const uri = `https://api.telegram.org/bot${token}/sendMessage?chat_id=${channelId}&text=${text}`; await fetch(uri);
但是如何發送計划消息?
機器人無法安排消息,文檔中有相應的錯誤: https://core.telegram.org/method/messages.sendMessage (見SCHEDULE_BOT_NOT_ALLOWED)
所以唯一的選擇是使用您身邊的任何調度工具來計划發送
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.