1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-23 22:05:15 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2024-10-11 09:59:59 +03:00
parent 20ffe61fc5
commit 4064c6233e
120 changed files with 5723 additions and 5386 deletions

View File

@@ -7,4 +7,4 @@
Token = "37d1fe66006e9f06006b12e400000001000...";
FieldID = "257";
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID, );
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);

View File

@@ -2,10 +2,8 @@
Result = OPI_Bitrix24.GetTimekeepingSettings(URL);
Hour = 3600;
URL = "b24-ar17wx.bitrix24.by";
Token = "37d1fe66006e9f06006b12e400000001000...";
UserID = 1;
Result = OPI_Bitrix24.GetTimekeepingSettings(URL, UserID);
Result = OPI_Bitrix24.GetTimekeepingSettings(URL, UserID, Token);

View File

@@ -2,10 +2,8 @@
Result = OPI_Bitrix24.GetTimekeepingStatus(URL);
Hour = 3600;
URL = "b24-ar17wx.bitrix24.by";
Token = "37d1fe66006e9f06006b12e400000001000...";
UserID = 1;
Result = OPI_Bitrix24.GetTimekeepingStatus(URL, UserID);
Result = OPI_Bitrix24.GetTimekeepingStatus(URL, UserID, Token);

View File

@@ -2,10 +2,8 @@
Result = OPI_Bitrix24.PauseTimekeeping(URL);
Hour = 3600;
URL = "b24-ar17wx.bitrix24.by";
Token = "37d1fe66006e9f06006b12e400000001000...";
UserID = 1;
Result = OPI_Bitrix24.PauseTimekeeping(URL, UserID);
Result = OPI_Bitrix24.PauseTimekeeping(URL, UserID, Token);

View File

@@ -10,4 +10,4 @@
Time = OPI_Tools.GetCurrentDate() - Hour;
Report = "Late";
Result = OPI_Bitrix24.StartTimekeeping(URL, UserID, Time, Report, );
Result = OPI_Bitrix24.StartTimekeeping(URL, UserID, Time, Report, Token);

View File

@@ -1,7 +1,6 @@
 Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
ReplyID = "7419291601358293295";
Text = "File caption";
File = "https://openyellow.neocities.org/test_data/song.m4a" ; // URL
FilePath = GetTempFileName("m4a"); // Path

View File

@@ -36,7 +36,7 @@ Method at API documentation: [task.item.userfield.get](https://dev.1c-bitrix.ru/
Token = "37d1fe66006e9f06006b12e400000001000...";
FieldID = "257";
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID, );
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
```

View File

@@ -31,13 +31,11 @@ Method at API documentation: [timeman.settings](https://dev.1c-bitrix.ru/rest_he
Result = OPI_Bitrix24.GetTimekeepingSettings(URL);
Hour = 3600;
URL = "b24-ar17wx.bitrix24.by";
Token = "37d1fe66006e9f06006b12e400000001000...";
UserID = 1;
Result = OPI_Bitrix24.GetTimekeepingSettings(URL, UserID);
Result = OPI_Bitrix24.GetTimekeepingSettings(URL, UserID, Token);
```

View File

@@ -31,13 +31,11 @@ Method at API documentation: [timeman.status](https://dev.1c-bitrix.ru/rest_help
Result = OPI_Bitrix24.GetTimekeepingStatus(URL);
Hour = 3600;
URL = "b24-ar17wx.bitrix24.by";
Token = "37d1fe66006e9f06006b12e400000001000...";
UserID = 1;
Result = OPI_Bitrix24.GetTimekeepingStatus(URL, UserID);
Result = OPI_Bitrix24.GetTimekeepingStatus(URL, UserID, Token);
```

View File

@@ -31,13 +31,11 @@ Method at API documentation: [timeman.pause](https://dev.1c-bitrix.ru/rest_help/
Result = OPI_Bitrix24.PauseTimekeeping(URL);
Hour = 3600;
URL = "b24-ar17wx.bitrix24.by";
Token = "37d1fe66006e9f06006b12e400000001000...";
UserID = 1;
Result = OPI_Bitrix24.PauseTimekeeping(URL, UserID);
Result = OPI_Bitrix24.PauseTimekeeping(URL, UserID, Token);
```

View File

@@ -41,7 +41,7 @@ Method at API documentation: [timeman.open](https://dev.1c-bitrix.ru/rest_help/t
Time = OPI_Tools.GetCurrentDate() - Hour;
Report = "Late";
Result = OPI_Bitrix24.StartTimekeeping(URL, UserID, Time, Report, );
Result = OPI_Bitrix24.StartTimekeeping(URL, UserID, Time, Report, Token);
```

View File

@@ -20,7 +20,10 @@ sidebar_position: 1
<br/>
:::tip
Method at API documentation: [banChatMember](https://core.telegram.org/bots/api#banchatmember)
:::
<br/>
```bsl title="Code example"

View File

@@ -22,7 +22,10 @@ sidebar_position: 3
<br/>
:::tip
Method at API documentation: [createChatInviteLink](https://core.telegram.org/bots/api#createchatinvitelink)
:::
<br/>
```bsl title="Code example"

View File

@@ -20,7 +20,10 @@ sidebar_position: 7
<br/>
:::tip
Method at API documentation: [deleteMessage](https://core.telegram.org/bots/api#deletemessage)
:::
<br/>
```bsl title="Code example"

View File

@@ -19,7 +19,10 @@ sidebar_position: 6
<br/>
:::tip
Method at API documentation: [getChatMemberCount](https://core.telegram.org/bots/api#getchatmembercount)
:::
<br/>
```bsl title="Code example"

View File

@@ -20,7 +20,10 @@ sidebar_position: 4
<br/>
:::tip
Method at API documentation: [pinChatMessage](https://core.telegram.org/bots/api#pinchatmessage)
:::
<br/>
```bsl title="Code example"

View File

@@ -20,7 +20,10 @@ sidebar_position: 2
<br/>
:::tip
Method at API documentation: [unbanChatMember](https://core.telegram.org/bots/api#unbanchatmember)
:::
<br/>
```bsl title="Code example"

View File

@@ -20,7 +20,10 @@ sidebar_position: 5
<br/>
:::tip
Method at API documentation: [unpinChatMessage](https://core.telegram.org/bots/api#unpinchatmessage)
:::
<br/>
```bsl title="Code example"

View File

@@ -18,7 +18,10 @@ sidebar_position: 4
<br/>
:::tip
Method at API documentation: [deleteWebhook](https://core.telegram.org/bots/api#deletewebhook)
:::
<br/>
```bsl title="Code example"

View File

@@ -19,7 +19,10 @@ sidebar_position: 5
<br/>
:::tip
Method at API documentation: [getFile](https://core.telegram.org/bots/api#getfile)
:::
<br/>
```bsl title="Code example"

View File

@@ -3,7 +3,7 @@ sidebar_position: 1
---
# Get bot information
Executes the /getMe request, returning basic bot information: name, id, ability to add the bot to groups, etc..
Executes the request, returning basic bot information: name, id, ability to add the bot to groups, etc..
@@ -18,7 +18,10 @@ sidebar_position: 1
<br/>
:::tip
Method at API documentation: [getMe](https://core.telegram.org/bots/api#getme)
:::
<br/>
```bsl title="Code example"

View File

@@ -3,7 +3,7 @@ sidebar_position: 2
---
# Get updates
Executes a request /getUpdates, returning information about bot events. Used in polling mode
Executes a request, returning information about bot events. Used in polling mode
@@ -20,7 +20,10 @@ sidebar_position: 2
<br/>
:::tip
Method at API documentation: [getUpdates](https://core.telegram.org/bots/api#getupdates)
:::
<br/>
```bsl title="Code example"

View File

@@ -19,7 +19,10 @@ sidebar_position: 3
<br/>
:::tip
Method at API documentation: [setWebhook](https://core.telegram.org/bots/api#setwebhook)
:::
<br/>
```bsl title="Code example"

View File

@@ -20,7 +20,10 @@ sidebar_position: 12
<br/>
:::tip
About keyboards in the API documentation: [InlineKeyboardMarkup](https://core.telegram.org/bots/api#inlinekeyboardmarkup)
:::
<br/>
```bsl title="Code example"

View File

@@ -21,7 +21,10 @@ sidebar_position: 11
<br/>
:::tip
Method at API documentation: [forwardMessage](https://core.telegram.org/bots/api#forwardmessage)
:::
<br/>
```bsl title="Code example"

View File

@@ -14,8 +14,8 @@ sidebar_position: 4
| Token | --token | String | Bot token |
| ChatID | --chat | String, Number | Target chat ID or ChatID*TopicID |
| Text | --text | String | Message text |
| Audio | --audio | BinaryData,String | Audio file |
| Keyboard | --keyboard | String | Keyboard JSON or path to .json |
| Audio | --audio | BinaryData, String | Audio file |
| Keyboard | --keyboard | String | Keyboard. See FormKeyboardFromButtonArray |
| Markup | --parsemode | String | Text processing type (HTML, Markdown, MarkdownV2) |
@@ -23,7 +23,10 @@ sidebar_position: 4
<br/>
:::tip
Method at API documentation: [sendAudio](https://core.telegram.org/bots/api#sendaudio)
:::
<br/>
```bsl title="Code example"

View File

@@ -16,14 +16,17 @@ sidebar_position: 9
| Name | --name | String | Contact name |
| LastName | --surname | String | Contact last name |
| Phone | --phone | String | Contact phone number |
| Keyboard | --keyboard | String | Keyboard JSON or path to .json |
| Keyboard | --keyboard | String | Keyboard. See FormKeyboardFromButtonArray |
Returns: Map Of KeyAndValue - serialized JSON response from Telegram
<br/>
:::tip
Method at API documentation: [sendContact](https://core.telegram.org/bots/api#sendcontact)
:::
<br/>
```bsl title="Code example"

View File

@@ -14,8 +14,8 @@ sidebar_position: 5
| Token | --token | String | Bot token |
| ChatID | --chat | String, Number | Target chat ID or ChatID*TopicID |
| Text | --text | String | Message text |
| Document | --doc | BinaryData,String | Document file |
| Keyboard | --keyboard | String | Keyboard JSON or path to .json |
| Document | --doc | BinaryData, String | Document file |
| Keyboard | --keyboard | String | Keyboard. See FormKeyboardFromButtonArray |
| Markup | --parsemode | String | Text processing type (HTML, Markdown, MarkdownV2) |
| FileName | --filename | String | Custom displayed file name with extension, if necessary |
@@ -24,7 +24,10 @@ sidebar_position: 5
<br/>
:::tip
Method at API documentation: [sendDocument](https://core.telegram.org/bots/api#senddocument)
:::
<br/>
```bsl title="Code example"

View File

@@ -14,8 +14,8 @@ sidebar_position: 6
| Token | --token | String | Bot token |
| ChatID | --chat | String, Number | Target chat ID or ChatID*TopicID |
| Text | --text | String | Message text |
| GIF | --gif | BinaryData,String | GIF file |
| Keyboard | --keyboard | String | Keyboard JSON or path to .json |
| GIF | --gif | BinaryData, String | GIF file |
| Keyboard | --keyboard | String | Keyboard. See FormKeyboardFromButtonArray |
| Markup | --parsemode | String | Text processing type (HTML, Markdown, MarkdownV2) |
@@ -23,7 +23,10 @@ sidebar_position: 6
<br/>
:::tip
Method at API documentation: [sendAnimation](https://core.telegram.org/bots/api#sendanimation)
:::
<br/>
```bsl title="Code example"

View File

@@ -14,8 +14,8 @@ sidebar_position: 2
| Token | --token | String | Bot token |
| ChatID | --chat | String, Number | Target chat ID or ChatID*TopicID |
| Text | --text | String | Message text |
| Image | --picture | BinaryData,String | Image file |
| Keyboard | --keyboard | String | Keyboard JSON or path to .json |
| Image | --picture | BinaryData, String | Image file |
| Keyboard | --keyboard | String | Keyboard. See FormKeyboardFromButtonArray |
| Markup | --parsemode | String | Text processing type (HTML, Markdown, MarkdownV2) |
@@ -23,7 +23,10 @@ sidebar_position: 2
<br/>
:::tip
Method at API documentation: [sendPhoto](https://core.telegram.org/bots/api#sendphoto)
:::
<br/>
```bsl title="Code example"

View File

@@ -15,14 +15,17 @@ sidebar_position: 8
| ChatID | --chat | String, Number | Target chat ID or ChatID*TopicID |
| Latitude | --lat | String, Number | Geographic latitude |
| Longitude | --long | String, Number | Geographic longitude |
| Keyboard | --keyboard | String | Keyboard JSON or path to .json |
| Keyboard | --keyboard | String | Keyboard. See FormKeyboardFromButtonArray |
Returns: Map Of KeyAndValue - serialized JSON response from Telegram
<br/>
:::tip
Method at API documentation: [sendLocation](https://core.telegram.org/bots/api#sendlocation)
:::
<br/>
```bsl title="Code example"

View File

@@ -14,8 +14,8 @@ sidebar_position: 7
| Token | --token | String | Bot token |
| ChatID | --chat | String, Number | Target chat ID or ChatID*TopicID |
| Text | --text | String | Message text |
| FileMapping | --media | Map of String | File JSON or path to .json |
| Keyboard | --keyboard | String | Keyboard JSON or path to .json |
| FileMapping | --media | Map of KeyAndValue | File collection: Key > File, Value > Media Type |
| Keyboard | --keyboard | String | Keyboard. See FormKeyboardFromButtonArray |
| Markup | --parsemode | String | Text processing type (HTML, Markdown, MarkdownV2) |
@@ -24,7 +24,7 @@ sidebar_position: 7
<br/>
:::tip
Map: Key - File, Value - media type
Method at API documentation: [sendMediaGroup](https://core.telegram.org/bots/api#sendmediagroup)
:::
<br/>

View File

@@ -15,14 +15,17 @@ sidebar_position: 10
| ChatID | --chat | String, Number | Target chat ID or ChatID*TopicID |
| Question | --question | String | Poll question |
| AnswersArray | --options | Array of String | Array of answer options |
| Anonymous | --anonymous | Boolean | Poll anonymity |
| Anonymous | --anonymous | Boolean | Survey anonymity flag |
Returns: Map Of KeyAndValue - serialized JSON response from Telegram
<br/>
:::tip
Method at API documentation: [sendPoll](https://core.telegram.org/bots/api#sendpoll)
:::
<br/>
```bsl title="Code example"

View File

@@ -14,7 +14,7 @@ sidebar_position: 1
| Token | --token | String | Bot token |
| ChatID | --chat | String, Number | Target chat ID or ChatID*TopicID |
| Text | --text | String | Message text |
| Keyboard | --keyboard | String | Keyboard JSON or path to .json |
| Keyboard | --keyboard | String | Keyboard. See FormKeyboardFromButtonArray |
| Markup | --parsemode | String | Text processing type (HTML, Markdown, MarkdownV2) |
| RepliedID | --reply | String, Number | Reply to message ID |
@@ -23,7 +23,10 @@ sidebar_position: 1
<br/>
:::tip
Method at API documentation: [sendMessage](https://core.telegram.org/bots/api#sendmessage)
:::
<br/>
```bsl title="Code example"

View File

@@ -14,8 +14,8 @@ sidebar_position: 3
| Token | --token | String | Bot token |
| ChatID | --chat | String, Number | Target chat ID or ChatID*TopicID |
| Text | --text | String | Message text |
| Video | --video | BinaryData,String | Video file |
| Keyboard | --keyboard | String | Keyboard JSON or path to .json |
| Video | --video | BinaryData, String | Video file |
| Keyboard | --keyboard | String | Keyboard. See FormKeyboardFromButtonArray |
| Markup | --parsemode | String | Text processing type (HTML, Markdown, MarkdownV2) |
@@ -23,7 +23,10 @@ sidebar_position: 3
<br/>
:::tip
Method at API documentation: [sendVideo](https://core.telegram.org/bots/api#sendvideo)
:::
<br/>
```bsl title="Code example"

View File

@@ -20,7 +20,10 @@ sidebar_position: 10
<br/>
:::tip
Method at API documentation: [unpinAllForumTopicMessages](https://core.telegram.org/bots/api#unpinallforumtopicmessages)
:::
<br/>
```bsl title="Code example"

View File

@@ -20,7 +20,10 @@ sidebar_position: 4
<br/>
:::tip
Method at API documentation: [closeForumTopic](https://core.telegram.org/bots/api#closeforumtopic)
:::
<br/>
```bsl title="Code example"

View File

@@ -21,7 +21,10 @@ sidebar_position: 2
<br/>
:::tip
Method at API documentation: [createForumTopic](https://core.telegram.org/bots/api#createforumtopic)
:::
<br/>
```bsl title="Code example"

View File

@@ -20,7 +20,10 @@ sidebar_position: 6
<br/>
:::tip
Method at API documentation: [deleteForumTopic](https://core.telegram.org/bots/api#deleteforumtopic)
:::
<br/>
```bsl title="Code example"

View File

@@ -22,7 +22,10 @@ sidebar_position: 3
<br/>
:::tip
Method at API documentation: [editForumTopic](https://core.telegram.org/bots/api#editforumtopic)
:::
<br/>
```bsl title="Code example"

View File

@@ -20,7 +20,10 @@ sidebar_position: 9
<br/>
:::tip
Method at API documentation: [editGeneralForumTopic](https://core.telegram.org/bots/api#editgeneralforumtopic)
:::
<br/>
```bsl title="Code example"

View File

@@ -18,7 +18,10 @@ sidebar_position: 1
<br/>
:::tip
Method at API documentation: [getForumTopicIconStickers](https://core.telegram.org/bots/api#getforumtopiciconstickers)
:::
<br/>
```bsl title="Code example"

View File

@@ -19,7 +19,10 @@ sidebar_position: 7
<br/>
:::tip
Method at API documentation: [hideGeneralForumTopic](https://core.telegram.org/bots/api#hidegeneralforumtopic)
:::
<br/>
```bsl title="Code example"

View File

@@ -20,7 +20,10 @@ sidebar_position: 5
<br/>
:::tip
Method at API documentation: [reopenForumTopic](https://core.telegram.org/bots/api#reopenforumtopic)
:::
<br/>
```bsl title="Code example"

View File

@@ -19,7 +19,10 @@ sidebar_position: 8
<br/>
:::tip
Method at API documentation: [unhideGeneralForumTopic](https://core.telegram.org/bots/api#unhidegeneralforumtopic)
:::
<br/>
```bsl title="Code example"

View File

@@ -7,7 +7,7 @@ sidebar_position: 6
`Function ResendFile(Val Token, Val ChatID, Val FileID, Val Text = "", Val FileName = "", Val Markup = "MarkdownV2") Export`
`Function ResendFile(Val Token, Val ChatID, Val FileID, Val Text = "", Val Markup = "MarkdownV2") Export`
| Parameter | CLI option | Type | Description |
|-|-|-|-|
@@ -15,7 +15,6 @@ sidebar_position: 6
| ChatID | --chatid | String, Number | Chat ID for sending |
| FileID | --fileid | String, Number | File ID to send |
| Text | --text | String | File caption |
| FileName | --filename | String | Displayed file name |
| Markup | --parsemod | String | Markup type for message text: MarkdownV2 or HTML |

View File

@@ -35,7 +35,6 @@ If you want the client to display this file as a playable voice message, it must
Token = "001.3501506236.091...";
ChatID = "689203963@chat.agent";
ReplyID = "7419291601358293295";
Text = "File caption";
File = "https://openyellow.neocities.org/test_data/song.m4a" ; // URL
FilePath = GetTempFileName("m4a"); // Path