1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-02 22:05:37 +02:00

15 lines
551 B
Plaintext
Raw Normal View History

 Extension = "docx";
2024-09-17 15:57:44 +03:00
URL = FunctionParameters["Document"];
2024-09-17 15:57:44 +03:00
UserID = FunctionParameters["Viber_UserID"];
Token = FunctionParameters["Viber_Token"];
SendingToChannel = False;
Result = OPI_Viber.SendFile(Token, URL, UserID, SendingToChannel, Extension);
2024-09-17 15:57:44 +03:00
UserID = FunctionParameters["Viber_ChannelAdminID"];
Token = FunctionParameters["Viber_ChannelToken"];
SendingToChannel = True;
Result = OPI_Viber.SendFile(Token, URL, UserID, SendingToChannel, Extension);