1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
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-05-04 21:43:56 +03:00
MessageID = "13480";
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);