1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-23 21:29:38 +02:00
OpenIntegrations/docs/en/examples/Telegram/ReplaceMessageKeyboard.txt
Vitaly the Alpaca (bot) ea19caa799 Main build (Jenkins)
2025-02-28 20:58:10 +03:00

13 lines
415 B
Plaintext
Vendored

Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
MessageID = "12391";
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);