mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-18 23:48:56 +02:00
18 lines
571 B
Plaintext
18 lines
571 B
Plaintext
URL = FunctionParameters["Bitrix24_URL"];
|
|
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
|
|
|
UserIDs = New Array;
|
|
UserIDs.Add(10);
|
|
UserIDs.Add(12);
|
|
|
|
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
|
|
|
|
OPI_TestDataRetrieval.WriteLog(Result, "AddUsersToChat (wh)", "Bitrix24");
|
|
|
|
URL = FunctionParameters["Bitrix24_Domain"];
|
|
Token = FunctionParameters["Bitrix24_Token"];
|
|
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
|
UserID = 10;
|
|
|
|
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);
|