2024-09-12 20:35:30 +03:00
|
|
|
Text = "TestMessage";
|
|
|
|
|
2024-09-21 10:57:02 +03:00
|
|
|
UserID = "d3jxe61Z4W73nmNkjYGgZg==";
|
|
|
|
Token = "523b5b25ed27e6ec-fdf013e4...";
|
2024-09-12 20:35:30 +03:00
|
|
|
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);
|
|
|
|
|
2024-09-21 10:57:02 +03:00
|
|
|
UserID = "tMNGhftyUPrB3r1lD+bT4g==";
|
|
|
|
Token = "523b58ba82afffaa-7ef3b426...";
|
2024-09-12 20:35:30 +03:00
|
|
|
SendingToChannel = True;
|
|
|
|
|
|
|
|
Result = OPI_Viber.SendTextMessage(Token, Text, UserID, SendingToChannel, Keyboard);
|