NIMMakeNotifyContentProvider typedef

NIMMakeNotifyContentProvider = Future<String?> Function(String? nick, NIMMessage? message)

定制消息提醒(通知栏提醒)內容文案 主要在通知栏下拉后展现其通知内容:content=nick:发来一条消息 Params: nick – 发送者昵称 message – 发来的消息 Returns: 定制的消息提醒内容文案

Implementation

typedef NIMMakeNotifyContentProvider = Future<String?> Function(
    String? nick, NIMMessage? message);