TIMMsgGetC2CReceiveMessageOpt

Introduction

Get C2C receiving message option

Parameter details

Parameter name Parameter type Required Description
msgGetC2CReceiveMessageOptParams MsgGetC2CReceiveMessageOptParams yes Param of getting C2C receiving message option

Returned template

Promise<commonResult<Array<C2CRecvMsgOptResult>>>

{
    code: TIMResult | TIMErrCode;
    desc?: string | undefined;
    json_param?: Array<C2CRecvMsgOptResult> | undefined;
    json_params?: Array<C2CRecvMsgOptResult> | undefined; 
    user_data?: string | undefined;
}

Return value details

name type description
code TIMResultTIMErrCode Request result: Error codes. 0 means success.
desc string | undefined The description of the error. It will be empty if success.
json_param Array< C2CRecvMsgOptResult > | undefined Return value of calling API
json_params Array< C2CRecvMsgOptResult > | undefined Return value of calling API. Compatible field, which is returned in some cases.
user_data string | undefined ImSDK is responsible for transporting user-defined data without any processing

results matching ""

    No results matching ""