createReferenceMessage method
Future<RCIMIWReferenceMessage?>
createReferenceMessage(
- RCIMIWConversationType type,
- String targetId,
- String? channelId,
- RCIMIWMessage referenceMessage,
- String text,
构建引用消息
type
会话类型targetId
会话 IDchannelId
频道 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);
}