You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -37,8 +37,8 @@ Method at API documentation: [im.message.delete](https://dev.1c-bitrix.ru/learni
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
MessageID = "4286";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
MessageID = "16";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID, Token);
|
||||
```
|
||||
|
||||
@@ -41,8 +41,8 @@ Method at API documentation: [im.message.update](https://dev.1c-bitrix.ru/learni
|
||||
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
MessageID = "4286";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
MessageID = "16";
|
||||
|
||||
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";
|
||||
|
||||
@@ -33,15 +33,15 @@ Method at API documentation: [im.dialog.read](https://dev.1c-bitrix.ru/learning/
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
|
||||
ChatID = "chat" + "2318";
|
||||
ChatID = "chat" + "2326";
|
||||
MessageID = "3850";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, ChatID, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
MessageID = "4286";
|
||||
MessageID = "16";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, UserID, MessageID, Token);
|
||||
```
|
||||
|
||||
@@ -33,15 +33,15 @@ Method at API documentation: [im.dialog.unread](https://dev.1c-bitrix.ru/learnin
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
|
||||
ChatID = "chat" + "2318";
|
||||
ChatID = "chat" + "2326";
|
||||
MessageID = "3850";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, ChatID, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
MessageID = "4286";
|
||||
MessageID = "16";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, UserID, MessageID, Token);
|
||||
```
|
||||
|
||||
@@ -34,7 +34,7 @@ Method at API documentation: [im.disk.file.commit](https://dev.1c-bitrix.ru/lear
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
|
||||
ChatID = "2318";
|
||||
ChatID = "2326";
|
||||
File = "https://api.athenaeum.digital/test_data/document.docx"; // Binary Data, URL or path to file
|
||||
Description = "Very important file";
|
||||
|
||||
@@ -47,8 +47,8 @@ Method at API documentation: [im.disk.file.commit](https://dev.1c-bitrix.ru/lear
|
||||
Result = OPI_Bitrix24.SendFile(URL, ChatID, FileID, Description);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
ChatID = "2320";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
ChatID = "2328";
|
||||
|
||||
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
||||
FolderID = Directory["result"]["ID"];
|
||||
|
||||
@@ -34,7 +34,7 @@ Method at API documentation: [im.message.add](https://dev.1c-bitrix.ru/learning/
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
|
||||
ChatID = "chat" + "2318";
|
||||
ChatID = "chat" + "2326";
|
||||
Text = "Message text";
|
||||
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";
|
||||
@@ -46,7 +46,7 @@ Method at API documentation: [im.message.add](https://dev.1c-bitrix.ru/learning/
|
||||
Result = OPI_Bitrix24.SendMessage(URL, ChatID, Text, Attachments);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.SendMessage(URL, UserID, Text, , Token);
|
||||
|
||||
@@ -37,8 +37,8 @@ Method at API documentation: [im.message.like](https://dev.1c-bitrix.ru/learning
|
||||
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
MessageID = "4286";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
MessageID = "16";
|
||||
|
||||
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID, Token);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user