MyChat Integration API: MCIAPI_CS_GetChannelUIDByName, get the conference UID by its name
Get a conference UID by its name; the letter case does not matter
Syntax
{
"cmd" : "000B",
"ServerKey" : "iddqd",
"APIStype" : "mydata",
"context" : "myfunc",
"Name" : "working team"
}
Parameters
Parameter |
Type |
Value |
cmd |
string |
"0009", number of the command MCIAPI_CS_SetChannelTopic; |
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; |
Name |
string |
conference name, letter case is not important. |
Work result
{
"cmd" : "000B",
"context" : "myfunc",
"UID" : 17,
"Name" : "Working 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 original name, a string. It can differ from the name in a query because the name is contextually dependent, and you can specify any letter case in a query. |
Possible errors
#5, MCIAPI_Error_WrongIntegrationKey