MyChat Integration API: MCIAPI_CS_IsUINExists, check if a specified user exists
Check if a user with a specified UIN exists on the server.
Syntax
{
 "cmd"        : "0007",
 "ServerKey"  : "iddqd",
 "APIStype"   : "mydata",
 
 "UIN"        : 157
}
Parameters
| Parameter | Type | Value | 
| cmd | string | "0007", the number of the command MCIAPI_CS_IsUINExists; | 
| ServerKey | string | IntegrationAPI key, configured in the server's settings; | 
| APIStype | string | integration type. You can set any string; | 
| context | string | optional parameter, any text that returns in a response command; | 
| UIN | integer | a user unique numeric identifier of a user. | 
Work result
{
 "cmd"     : "0007",
 "UIN"     : 157,
 "Present" : true
}
| Field | Type | Value | 
| cmd | string | HEX number of the command that run successfully; | 
| UIN | integer | user's unique identifier (UIN); | 
| context | string | any text sent to the server in a query command; | 
| Present | boolean | "true", if a user exists on the server, "false" if not | 
Possible errors
#5, MCIAPI_Error_WrongIntegrationKey
#10, MCIAPI_Error_ParameterAbsent