createReferenceMessage method

Future<RCIMIWReferenceMessage?> createReferenceMessage(
  1. RCIMIWConversationType type,
  2. String targetId,
  3. String? channelId,
  4. RCIMIWMessage referenceMessage,
  5. String text,
)

构建引用消息

  • type 会话类型
  • targetId 会话 ID
  • channelId 频道 ID,仅支持超级群使用,其他会话类型传 null 即可。
  • referenceMessage 引用的消息
  • text 引用的文本内容
  • 返回值 引用消息实体

Implementation

Future<RCIMIWReferenceMessage?> createReferenceMessage(RCIMIWConversationType type, String targetId,
    String? channelId, RCIMIWMessage referenceMessage, String text) async {
  return RCIMWrapperPlatform.instance.createReferenceMessage(type, targetId, channelId, referenceMessage, text);
}