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:
2
docs/en/examples/Telegram/DeleteMessage.txt
vendored
2
docs/en/examples/Telegram/DeleteMessage.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChatID = "@testsichee";
|
||||
MessageID = "13617";
|
||||
MessageID = "13750";
|
||||
|
||||
Result = OPI_Telegram.DeleteMessage(Token, ChatID, MessageID);
|
||||
|
||||
2
docs/en/examples/Telegram/DownloadFile.txt
vendored
2
docs/en/examples/Telegram/DownloadFile.txt
vendored
@@ -1,4 +1,4 @@
|
||||
FileID = "CQACAgIAAx0EcNsaZQACNTlng31PuqBvkPeTPp8xD72I9FoCTgACLGwAArP5GEgOZru32ZP8fzYE";
|
||||
FileID = "AgACAgIAAxkDAAIrBWdz-63HiyuuYGJK5nyqPoP6ZZ-0AAJz6DEbE_WgS78HisbQ9AQ_AQADAgADcwADNgQ";
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
|
||||
Result = OPI_Telegram.DownloadFile(Token, FileID);
|
||||
|
||||
2
docs/en/examples/Telegram/ForwardMessage.txt
vendored
2
docs/en/examples/Telegram/ForwardMessage.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChatID = "461699897";
|
||||
ChannelID = "@testsichee";
|
||||
MessageID = "13617";
|
||||
MessageID = "13750";
|
||||
|
||||
Result = OPI_Telegram.ForwardMessage(Token, MessageID, ChannelID, ChatID);
|
||||
|
||||
2
docs/en/examples/Telegram/PinMessage.txt
vendored
2
docs/en/examples/Telegram/PinMessage.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChannelID = "@testsichee";
|
||||
MessageID = "13617";
|
||||
MessageID = "13750";
|
||||
|
||||
Result = OPI_Telegram.PinMessage(Token, ChannelID, MessageID);
|
||||
|
||||
6
docs/en/examples/Telegram/ReplaceMessageCaption.txt
vendored
Normal file
6
docs/en/examples/Telegram/ReplaceMessageCaption.txt
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChatID = "461699897";
|
||||
MessageID = "11410";
|
||||
|
||||
Description = "New picture description";
|
||||
Result = OPI_Telegram.ReplaceMessageCaption(Token, ChatID, MessageID, Description);
|
||||
12
docs/en/examples/Telegram/ReplaceMessageKeyboard.txt
vendored
Normal file
12
docs/en/examples/Telegram/ReplaceMessageKeyboard.txt
vendored
Normal 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);
|
||||
6
docs/en/examples/Telegram/ReplaceMessageText.txt
vendored
Normal file
6
docs/en/examples/Telegram/ReplaceMessageText.txt
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChatID = "@testsichee";
|
||||
MessageID = "13750";
|
||||
Text = "New message text";
|
||||
|
||||
Result = OPI_Telegram.ReplaceMessageText(Token, ChatID, MessageID, Text);
|
||||
@@ -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);
|
||||
|
||||
2
docs/en/examples/Telegram/UnpinMessage.txt
vendored
2
docs/en/examples/Telegram/UnpinMessage.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "6129457865:AAFyzNYOAFbu...";
|
||||
ChannelID = "@testsichee";
|
||||
MessageID = "13617";
|
||||
MessageID = "13750";
|
||||
|
||||
Result = OPI_Telegram.UnpinMessage(Token, ChannelID, MessageID);
|
||||
|
||||
Reference in New Issue
Block a user