getContactDetails

TrueConfAbout 1 min

getContactDetails

Description: get detailed information about the user.

The result will be sent via notification detailsInfo.

Request example:

{
    "method" : "getContactDetails",
    "requestId" : "1",
    "peerId" : "user1@some.server"
}

Response example:

{
    "method" : "getContactDetails",
    "requestId" : "1",
    "result" : true
}

If peerId is changed (converted as shown below), the response will include an additional parameter callId.

Response example:

{
    "method" : "getContactDetails",
    "requestId" : "1",
    "callId" : "user10@some.server",
    "result" : true
}

Parameter description:

  • peerId - a unique user identifier (TrueConf ID). Applicability:

    • PeerId is supported. Within the application, it is automatically converted to CallId, and the command is executed with it.

    • CallId - supported

    • InstanceId is supported. Inside the application, it is automatically converted to CallId, and the command is executed using the latter.

  • requestId - a unique request identifier. You can find more details about it here.

  • callId - unique identifier of the user after conversion

See also: