1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-18 23:48:56 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/ChangeChatPicture.txt
2024-08-13 14:35:37 +03:00

15 lines
531 B
Plaintext

URL = FunctionParameters["Bitrix24_URL"];
ChatID = FunctionParameters["Bitrix24_HookChatID"];
Image = FunctionParameters["Picture2"];
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);
OPI_TestDataRetrieval.WriteLog(Result, "ChangeChatPicture (wh)", "Bitrix24");
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
ChatID = FunctionParameters["Bitrix24_ChatID"];
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);