sendForwardMessage method

  1. @override
Future<V2TimValueCallback<V2TimMessage>> sendForwardMessage({
  1. required String msgID,
  2. required String receiver,
  3. required String groupID,
  4. int priority = 0,
  5. bool onlineUserOnly = false,
  6. bool isExcludedFromUnreadCount = false,
  7. Map<String, dynamic>? offlinePushInfo,
  8. String? webMessageInstance,
})
override

Implementation

@override
Future<V2TimValueCallback<V2TimMessage>> sendForwardMessage(
    {required String msgID,
    required String receiver,
    required String groupID,
    int priority = 0,
    bool onlineUserOnly = false,
    bool isExcludedFromUnreadCount = false,
    Map<String, dynamic>? offlinePushInfo,
    String? webMessageInstance}) async {
  return await _v2timMessageManager.sendForwardMessage({
    "msgID": msgID,
    "receiver": receiver,
    "groupID": groupID,
    "priority": priority,
    "onlineUserOnly": onlineUserOnly,
    "isExcludedFromUnreadCount": isExcludedFromUnreadCount,
    "offlinePushInfo": offlinePushInfo,
    "webMessageInstance": webMessageInstance
  });
}