📌  相关文章
📜  如何通过 id 删除消息 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:32.639000             🧑  作者: Mango

代码示例1
// ASSUMPTIONS:
// channel: the channel you want the message to be sent in
// lastmsg: the id of the last poll message

channel.fetchMessage(lastmsg).then(msg => msg.delete());