MyChat Integration API: MCIAPI_CS_SetChannelTopic, изменить тему конференции
Change the topic of the conference. Use the text only (any UNICODE characters).
Syntax
{
"cmd" : "0009",
"ServerKey" : "iddqd",
"APIStype" : "mydata",
"context" : "myfunc",
"UID" : 23,
"Topic" : "new conference theme"
}
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; |
UID |
integer |
conference identifier, the number > 0; |
Topic |
string |
new conference name, a string. Can be empty. All new line symbols (CR/LF) are ignored. |
Work result
{
"cmd" : "000E",
"context" : "myfunc",
"UID" : 23,
"Topic" : "new conference theme"
}
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; |
Topic |
string |
new conference name, a string. |
Possible errors
#5, MCIAPI_Error_WrongIntegrationKey
#10, MCIAPI_Error_ParameterAbsent
Created with the Personal Edition of HelpNDoc: Don't Let Unauthorized Users View Your PDFs: Learn How to Set Passwords