MyChat Integration API: MCIAPI_CS_GetChannelInfo. get the information about the conference
Get information about the conference by its identifier (UID).
Syntax
{
"cmd" : "000A",
"ServerKey" : "iddqd",
"APIStype" : "mydata",
"context" : "myfunc",
"UID" : 23
}
Parameters
Parameter |
Type |
Value |
cmd |
string |
"000A", number of the command MCIAPI_CS_GetChannelInfo; |
ServerKey |
string |
IntegrationAPI key that is set in the server settings; |
APIStype |
string |
integration type. You can set any string; |
context |
string |
optional parameter, any text that returns in a response command; |
UID |
integer |
conference identifier, the number > 0; |
Work result
{
"cmd" : "000A",
"context" : "myfunc",
"UID" : 23,
"Name" : "work",
"Topic" : "Software development team"
}
Field |
Type |
Value |
cmd |
string |
HEX number of a command that was successfully executed; |
context |
string |
any text sent to the server in a query command; |
UID |
string |
conference identifier; |
Name |
string |
conference name, a string; |
Topic |
string |
new conference name, a string. |
Possible errors
#5, MCIAPI_Error_WrongIntegrationKey