1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-12 04:34:10 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/CreatePost.txt
2024-08-19 09:33:52 +03:00

18 lines
658 B
Plaintext

Text = "Text of post";
Title = "Post title";
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Path or Binary Data
Files = New Map;
Files.Insert("1.png", Image1);
Files.Insert("2.png", Image2);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True);
URL = "b24-ar17wx.bitrix24.by";
Token = "7a63bc66006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);