1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-10-08 22:51:57 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/UpdatePost.txt
Vitaly the Alpaca (bot) fb1d5eb506 Main build (Jenkins)
2025-10-08 00:46:26 +03:00

18 lines
571 B
Plaintext
Vendored

Text = "New post text";
Title = "New post title";
Image1 = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
PostID = "3100";
Files = New Map;
Files.Insert("1.png", Image1);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title);
URL = "b24-ar17wx.bitrix24.by";
Token = "c866e568006e9f06006b12e400000001000...";
PostID = "3098";
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title, Token);