getConversationIDBySessionType method

Future getConversationIDBySessionType({
  1. required String sourceID,
  2. required int sessionType,
})

查询会话id sourceID 如果是单聊值传用户ID,如果是群聊值传组ID sessionType 参考ConversationType

Implementation

Future<dynamic> getConversationIDBySessionType({
  required String sourceID,
  required int sessionType,
}) =>
    _channel.invokeMethod(
        'getConversationIDBySessionType',
        _buildParam({
          "sourceID": sourceID,
          "sessionType": sessionType,
        }));