1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/EditMessage.txt

20 lines
804 B
Plaintext
Raw Normal View History

2025-01-18 17:35:34 +03:00
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
2025-03-17 22:58:06 +03:00
MessageID = "3850";
Text = "New message text";
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
2024-09-21 10:57:02 +03:00
URL = "b24-ar17wx.bitrix24.by";
2025-03-17 22:58:06 +03:00
Token = "2f89d867006e9f06006b12e400000001000...";
MessageID = "4286";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Attachments = New Array;
2025-03-06 23:26:18 +03:00
Attachments.Add(OPI_Bitrix24.GetPictureBlock("Image1" , Image));
Attachments.Add(OPI_Bitrix24.GetFileBlock("File1.docx" , File));
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text, Attachments, Token);