mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-02-03 13:22:19 +02:00
21 lines
681 B
Plaintext
21 lines
681 B
Plaintext
Text = "TestMessage";
|
|
|
|
UserID = "d3jxe61Z4W73nmNkjYGgZg==";
|
|
Token = "523b5b25ed27e6ec-fdf013e4...";
|
|
SendingToChannel = False;
|
|
|
|
ButtonArray = New Array;
|
|
ButtonArray.Add("Button 1");
|
|
ButtonArray.Add("Button 2");
|
|
ButtonArray.Add("Button 3");
|
|
|
|
Keyboard = OPI_Viber.CreateKeyboardFromArrayButton(ButtonArray);
|
|
|
|
Result = OPI_Viber.SendTextMessage(Token, Text, UserID, SendingToChannel, Keyboard);
|
|
|
|
UserID = "tMNGhftyUPrB3r1lD+bT4g==";
|
|
Token = "523b58ba82afffaa-7ef3b426...";
|
|
SendingToChannel = True;
|
|
|
|
Result = OPI_Viber.SendTextMessage(Token, Text, UserID, SendingToChannel, Keyboard);
|