mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-26 05:37:27 +02:00
13 lines
431 B
Plaintext
13 lines
431 B
Plaintext
URL = FunctionParameters["Bitrix24_URL"];
|
|
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
|
|
|
UserID = 10;
|
|
|
|
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
|
|
|
|
URL = FunctionParameters["Bitrix24_Domain"];
|
|
Token = FunctionParameters["Bitrix24_Token"];
|
|
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
|
|
|
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);
|