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/CreatePost.txt

18 lines
649 B
Plaintext
Raw Normal View History

2025-07-06 01:01:25 +03:00
 Text = "Text of post";
Title = "Post title";
2025-10-21 11:36:43 +03:00
Image1 = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://hut.openintegrations.dev/test_data/picture2.jpg"; // URL, Path or Binary Data
2025-07-06 01:01:25 +03:00
Files = New Map;
Files.Insert("1.png", Image1);
Files.Insert("2.png", Image2);
2025-10-21 11:36:43 +03:00
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
2025-07-06 01:01:25 +03:00
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True);
2025-10-21 11:36:43 +03:00
URL = "b24-ar17wx.bitrix24.by";
2025-10-29 21:59:54 +03:00
Token = "1dbf0069006e9f06006b12e400000001000...";
2025-07-06 01:01:25 +03:00
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);