addMessagePin method

Future<NIMResult<void>> addMessagePin(
  1. NIMMessage message,
  2. String? ext
)

PIN一条消息

message 被PIN的消息
ext 扩展字段

Implementation

Future<NIMResult<void>> addMessagePin(NIMMessage message, String? ext) {
  return _platform.addMessagePin(message, ext);
}