commonResult
Introduction
Common api response
Parameter introduction
code
- Parameter type : TIMResult | TIMErrCode
- Parameter description : Request result: Error codes. 0 means success.
desc
- Parameter type : string | undefined
- Parameter description : The description of the error. It will be empty if success.
json_param
- Parameter type : T(generics) | undefined
- Parameter description : Return value of calling API
json_params
- Parameter type : T(generics) | undefined
- Parameter description : Return value of calling API. Compatible field, which is returned in some cases.
user_data
- Parameter type : string | undefined
- Parameter description : ImSDK is responsible for transporting user-defined data without any processing