mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-23 21:29:38 +02:00
14 lines
528 B
Plaintext
Vendored
14 lines
528 B
Plaintext
Vendored
Token = "6129457865:AAFyzNYOAFbu...";
|
|
ChatID = "461699897";
|
|
ChannelID = "@testsichee";
|
|
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);
|