1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-23 12:18:48 +02:00
OpenIntegrations/docs/en/examples/Telegram/ReplaceMessageKeyboard.txt

13 lines
415 B
Plaintext
Raw Normal View History

2025-01-16 21:22:31 +03:00
 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
2025-01-25 22:35:43 +03:00
MessageID = "11585";
2025-01-16 21:22:31 +03:00
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);