1
0
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:
Vitaly the Alpaca (bot)
2025-04-16 22:15:09 +03:00
parent 8789ae3342
commit 7dc8cdfa67
1668 changed files with 18706 additions and 13303 deletions

View File

@@ -33,7 +33,7 @@ Method at API documentation: [deleteMessage](https://core.telegram.org/bots/api#
```bsl title="1C:Enterprise/OneScript code example"
Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "@testsichee";
MessageID = "15942";
MessageID = "16173";
Result = OPI_Telegram.DeleteMessage(Token, ChatID, MessageID);
```

View File

@@ -35,7 +35,7 @@ Method at API documentation: [forwardMessage](https://core.telegram.org/bots/api
Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
ChannelID = "@testsichee";
MessageID = "15942";
MessageID = "16173";
Result = OPI_Telegram.ForwardMessage(Token, MessageID, ChannelID, ChatID);
```

View File

@@ -10,7 +10,7 @@ import TabItem from '@theme/TabItem';
`Function ReplaceMessageCaption(Val Token, Val ChatID, Val MessageID, Val Description) Export`
`Function ReplaceMessageCaption(Val Token, Val ChatID, Val MessageID, Val Description, Val Markup = "") Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
@@ -18,6 +18,7 @@ import TabItem from '@theme/TabItem';
| ChatID | --chat | String, Number | ✔ | Target chat ID |
| MessageID | --message | String, Number | ✔ | ID of message to delete |
| Description | --caption | String | ✔ | New message description |
| Markup | --parsemode | String | ✖ | Text processing type (HTML, Markdown, MarkdownV2) |
Returns: Map Of KeyAndValue - serialized JSON response from Telegram
@@ -34,7 +35,7 @@ Method at API documentation: [editMessageCaption](https://core.telegram.org/bots
```bsl title="1C:Enterprise/OneScript code example"
Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
MessageID = "12839";
MessageID = "13000";
Description = "New picture description";
Result = OPI_Telegram.ReplaceMessageCaption(Token, ChatID, MessageID, Description);

View File

@@ -34,7 +34,7 @@ Method at API documentation: [editMessageReplyMarkup](https://core.telegram.org/
```bsl title="1C:Enterprise/OneScript code example"
Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
MessageID = "12836";
MessageID = "12997";
ButtonArray = New Array;
ButtonArray.Add("New button 3");

View File

@@ -10,7 +10,7 @@ import TabItem from '@theme/TabItem';
`Function ReplaceMessageText(Val Token, Val ChatID, Val MessageID, Val Text) Export`
`Function ReplaceMessageText(Val Token, Val ChatID, Val MessageID, Val Text, Val Markup = "") Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
@@ -18,6 +18,7 @@ import TabItem from '@theme/TabItem';
| ChatID | --chat | String, Number | ✔ | Target chat ID |
| MessageID | --message | String, Number | ✔ | ID of message to delete |
| Text | --text | String | ✔ | New message text |
| Markup | --parsemode | String | ✖ | Text processing type (HTML, Markdown, MarkdownV2) |
Returns: Map Of KeyAndValue - serialized JSON response from Telegram
@@ -34,7 +35,7 @@ Method at API documentation: [editMessageText](https://core.telegram.org/bots/ap
```bsl title="1C:Enterprise/OneScript code example"
Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "@testsichee";
MessageID = "15942";
MessageID = "16173";
Text = "New message text";
Result = OPI_Telegram.ReplaceMessageText(Token, ChatID, MessageID, Text);