1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/AddUsersToChat.txt

16 lines
428 B
Plaintext
Raw Normal View History

2025-07-06 01:01:25 +03:00
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
2025-08-18 16:58:37 +03:00
ChatID = "2936";
2025-07-06 01:01:25 +03:00
UserIDs = New Array;
UserIDs.Add(10);
UserIDs.Add(12);
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
URL = "b24-ar17wx.bitrix24.by";
2025-08-18 16:58:37 +03:00
Token = "9c04a368006e9f06006b12e400000001000...";
ChatID = "2938";
2025-07-06 01:01:25 +03:00
UserID = 10;
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);