getChatroomInfo static method
Future<void>
getChatroomInfo(
- String chatroomId,
- int updateDt,
- OperationSuccessChatroomInfoCallback successCallback,
- 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()
});
}