deleteMessage static method

Future<NIMResult<int>> deleteMessage(
  1. NIMMessage anchor
)

删除消息,远程删除

Implementation

static Future<NIMResult<int>> deleteMessage(NIMMessage anchor) {
  return NimCore.instance.messageService.deleteMsgSelf(anchor, '');
}