1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-26 05:37:27 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/GetChatMessagesList.txt
2024-08-13 14:35:37 +03:00

13 lines
414 B
Plaintext

URL = FunctionParameters["Bitrix24_URL"];
ChatID = "chat4";
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);
OPI_TestDataRetrieval.WriteLog(Result, "GetChatMessagesList (wh)", "Bitrix24");
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
UserID = 10;
Result = OPI_Bitrix24.GetChatMessagesList(URL, UserID, , 0, Token);