mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-10-14 13:49:18 +00:00
15 lines
276 B
JavaScript
15 lines
276 B
JavaScript
const Message = {
|
|
/**
|
|
* 群撤回消息
|
|
* @param e
|
|
* @param message_id 消息id
|
|
* @returns {Promise<*>}
|
|
*/
|
|
async deleteMsg(e, message_id) {
|
|
return await e.bot.sendApi('delete_msg', {
|
|
message_id: message_id,
|
|
});
|
|
},
|
|
};
|
|
export default Message;
|