getChatroomInfo static method

Future<void> getChatroomInfo(
  1. String chatroomId,
  2. int updateDt,
  3. OperationSuccessChatroomInfoCallback successCallback,
  4. OperationFailureCallback errorCallback,
)

获取聊天室信息

Implementation

static Future<void> getChatroomInfo(
    String chatroomId,
    int updateDt,
    OperationSuccessChatroomInfoCallback successCallback,
    OperationFailureCallback errorCallback) async {
  int requestId = _requestId++;
  _operationSuccessCallbackMap[requestId] = successCallback;
  _errorCallbackMap[requestId] = errorCallback;
  await _channel.invokeMethod("getChatroomInfo", {
    "requestId": requestId,
    "chatroomId": chatroomId,
    "updateDt": updateDt.toString()
  });
}