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-01-16 21:22:31 +03:00
parent 9957d76d21
commit 003878a3cb
78 changed files with 7482 additions and 6462 deletions

View File

@@ -1,5 +1,5 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "@testsichee";
MessageID = "13617";
MessageID = "13750";
Result = OPI_Telegram.DeleteMessage(Token, ChatID, MessageID);

View File

@@ -1,4 +1,4 @@
 FileID = "CQACAgIAAx0EcNsaZQACNTlng31PuqBvkPeTPp8xD72I9FoCTgACLGwAArP5GEgOZru32ZP8fzYE";
 FileID = "AgACAgIAAxkDAAIrBWdz-63HiyuuYGJK5nyqPoP6ZZ-0AAJz6DEbE_WgS78HisbQ9AQ_AQADAgADcwADNgQ";
Token = "6129457865:AAFyzNYOAFbu...";
Result = OPI_Telegram.DownloadFile(Token, FileID);

View File

@@ -1,6 +1,6 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
ChannelID = "@testsichee";
MessageID = "13617";
MessageID = "13750";
Result = OPI_Telegram.ForwardMessage(Token, MessageID, ChannelID, ChatID);

View File

@@ -1,5 +1,5 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChannelID = "@testsichee";
MessageID = "13617";
MessageID = "13750";
Result = OPI_Telegram.PinMessage(Token, ChannelID, MessageID);

View File

@@ -0,0 +1,6 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
MessageID = "11410";
Description = "New picture description";
Result = OPI_Telegram.ReplaceMessageCaption(Token, ChatID, MessageID, Description);

View File

@@ -0,0 +1,12 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
MessageID = "11407";
ButtonArray = New Array;
ButtonArray.Add("New button 3");
ButtonArray.Add("New button 2");
ButtonArray.Add("New button 1");
Keyboard = OPI_Telegram.FormKeyboardFromButtonArray(ButtonArray, True, False);
Result = OPI_Telegram.ReplaceMessageKeyboard(Token, ChatID, MessageID, Keyboard);

View File

@@ -0,0 +1,6 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "@testsichee";
MessageID = "13750";
Text = "New message text";
Result = OPI_Telegram.ReplaceMessageText(Token, ChatID, MessageID, Text);

View File

@@ -3,6 +3,11 @@
ChannelID = "@testsichee";
Text = "Строковое значение";
Result = OPI_Telegram.SendTextMessage(Token, ChatID, Text);
KeyboardButtonsArray = New Array;
KeyboardButtonsArray.Add("Button1");
KeyboardButtonsArray.Add("Button2");
Keyboard = OPI_Telegram.FormKeyboardFromButtonArray(KeyboardButtonsArray, True);
Result = OPI_Telegram.SendTextMessage(Token, ChatID, Text, Keyboard);
Result = OPI_Telegram.SendTextMessage(Token, ChannelID, Text);

View File

@@ -1,5 +1,5 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChannelID = "@testsichee";
MessageID = "13617";
MessageID = "13750";
Result = OPI_Telegram.UnpinMessage(Token, ChannelID, MessageID);