You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
Token = "523b58ba82afffaa-7ef3b426...";
|
||||
Token = FunctionParameters["Viber_ChannelToken"];
|
||||
Result = OPI_Viber.GetChannelInformation(Token);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "523b58ba82afffaa-7ef3b426...";
|
||||
UserID = "tMNGhftyUPrB3r1lD+bT4g==";
|
||||
Token = FunctionParameters["Viber_ChannelToken"];
|
||||
UserID = FunctionParameters["Viber_ChannelAdminID"];
|
||||
|
||||
Result = OPI_Viber.GetOnlineUsers(Token, UserID);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "523b58ba82afffaa-7ef3b426...";
|
||||
UserID = "tMNGhftyUPrB3r1lD+bT4g==";
|
||||
Token = FunctionParameters["Viber_ChannelToken"];
|
||||
UserID = FunctionParameters["Viber_ChannelAdminID"];
|
||||
|
||||
Result = OPI_Viber.GetUserData(Token, UserID);
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
Name = "Petr Petrov";
|
||||
Phone = "+123456789";
|
||||
|
||||
UserID = "d3jxe61Z4W73nmNkjYGgZg==";
|
||||
Token = "523b5b25ed27e6ec-fdf013e4...";
|
||||
UserID = FunctionParameters["Viber_UserID"];
|
||||
Token = FunctionParameters["Viber_Token"];
|
||||
SendingToChannel = False;
|
||||
|
||||
Result = OPI_Viber.SendContact(Token, Name, Phone, UserID, SendingToChannel);
|
||||
|
||||
UserID = "tMNGhftyUPrB3r1lD+bT4g==";
|
||||
Token = "523b58ba82afffaa-7ef3b426...";
|
||||
UserID = FunctionParameters["Viber_ChannelAdminID"];
|
||||
Token = FunctionParameters["Viber_ChannelToken"];
|
||||
SendingToChannel = True;
|
||||
|
||||
Result = OPI_Viber.SendContact(Token, Name, Phone, UserID, SendingToChannel);
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
Extension = "docx";
|
||||
URL = "https://openintegrations.dev/test_data/document.docx";
|
||||
URL = FunctionParameters["Document"];
|
||||
|
||||
UserID = "d3jxe61Z4W73nmNkjYGgZg==";
|
||||
Token = "523b5b25ed27e6ec-fdf013e4...";
|
||||
UserID = FunctionParameters["Viber_UserID"];
|
||||
Token = FunctionParameters["Viber_Token"];
|
||||
SendingToChannel = False;
|
||||
|
||||
Result = OPI_Viber.SendFile(Token, URL, UserID, SendingToChannel, Extension);
|
||||
|
||||
UserID = "tMNGhftyUPrB3r1lD+bT4g==";
|
||||
Token = "523b58ba82afffaa-7ef3b426...";
|
||||
UserID = FunctionParameters["Viber_ChannelAdminID"];
|
||||
Token = FunctionParameters["Viber_ChannelToken"];
|
||||
SendingToChannel = True;
|
||||
|
||||
Result = OPI_Viber.SendFile(Token, URL, UserID, SendingToChannel, Extension);
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
Description = "TestMessage";
|
||||
URL = "https://openintegrations.dev/test_data/picture.jpg";
|
||||
URL = FunctionParameters["Picture"];
|
||||
|
||||
UserID = "d3jxe61Z4W73nmNkjYGgZg==";
|
||||
Token = "523b5b25ed27e6ec-fdf013e4...";
|
||||
UserID = FunctionParameters["Viber_UserID"];
|
||||
Token = FunctionParameters["Viber_Token"];
|
||||
SendingToChannel = False;
|
||||
|
||||
Result = OPI_Viber.SendImage(Token, URL, UserID, SendingToChannel, Description);
|
||||
|
||||
UserID = "tMNGhftyUPrB3r1lD+bT4g==";
|
||||
Token = "523b58ba82afffaa-7ef3b426...";
|
||||
UserID = FunctionParameters["Viber_ChannelAdminID"];
|
||||
Token = FunctionParameters["Viber_ChannelToken"];
|
||||
SendingToChannel = True;
|
||||
|
||||
Result = OPI_Viber.SendImage(Token, URL, UserID, SendingToChannel, Description);
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
|
||||
|
||||
UserID = "d3jxe61Z4W73nmNkjYGgZg==";
|
||||
Token = "523b5b25ed27e6ec-fdf013e4...";
|
||||
UserID = FunctionParameters["Viber_UserID"];
|
||||
Token = FunctionParameters["Viber_Token"];
|
||||
SendingToChannel = False;
|
||||
|
||||
Result = OPI_Viber.SendLink(Token, URL, UserID, SendingToChannel);
|
||||
|
||||
UserID = "tMNGhftyUPrB3r1lD+bT4g==";
|
||||
Token = "523b58ba82afffaa-7ef3b426...";
|
||||
UserID = FunctionParameters["Viber_ChannelAdminID"];
|
||||
Token = FunctionParameters["Viber_ChannelToken"];
|
||||
SendingToChannel = True;
|
||||
|
||||
Result = OPI_Viber.SendLink(Token, URL, UserID, SendingToChannel);
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
Latitude = "48.87373649724122";
|
||||
Longitude = "2.2954639195323967";
|
||||
|
||||
UserID = "d3jxe61Z4W73nmNkjYGgZg==";
|
||||
Token = "523b5b25ed27e6ec-fdf013e4...";
|
||||
UserID = FunctionParameters["Viber_UserID"];
|
||||
Token = FunctionParameters["Viber_Token"];
|
||||
SendingToChannel = False;
|
||||
|
||||
Result = OPI_Viber.SendLocation(Token, Latitude, Longitude, UserID, SendingToChannel);
|
||||
|
||||
UserID = "tMNGhftyUPrB3r1lD+bT4g==";
|
||||
Token = "523b58ba82afffaa-7ef3b426...";
|
||||
UserID = FunctionParameters["Viber_ChannelAdminID"];
|
||||
Token = FunctionParameters["Viber_ChannelToken"];
|
||||
SendingToChannel = True;
|
||||
|
||||
Result = OPI_Viber.SendLocation(Token, Latitude, Longitude, UserID, SendingToChannel);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Text = "TestMessage";
|
||||
|
||||
UserID = "d3jxe61Z4W73nmNkjYGgZg==";
|
||||
Token = "523b5b25ed27e6ec-fdf013e4...";
|
||||
UserID = FunctionParameters["Viber_UserID"];
|
||||
Token = FunctionParameters["Viber_Token"];
|
||||
SendingToChannel = False;
|
||||
|
||||
ButtonArray = New Array;
|
||||
@@ -13,8 +13,8 @@
|
||||
|
||||
Result = OPI_Viber.SendTextMessage(Token, Text, UserID, SendingToChannel, Keyboard);
|
||||
|
||||
UserID = "tMNGhftyUPrB3r1lD+bT4g==";
|
||||
Token = "523b58ba82afffaa-7ef3b426...";
|
||||
UserID = FunctionParameters["Viber_ChannelAdminID"];
|
||||
Token = FunctionParameters["Viber_ChannelToken"];
|
||||
SendingToChannel = True;
|
||||
|
||||
Result = OPI_Viber.SendTextMessage(Token, Text, UserID, SendingToChannel, Keyboard);
|
||||
|
||||
Reference in New Issue
Block a user