1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/GreenAPI/GetAuthorizationCode.txt

10 lines
485 B
Plaintext
Raw Normal View History

2025-10-20 19:41:52 +03:00
 ApiUrl = FunctionParameters["GreenAPI_ApiURL"];
MediaUrl = FunctionParameters["GreenAPI_MediaURL"];
IdInstance = FunctionParameters["GreenAPI_IdInstance"];
ApiTokenInstance = FunctionParameters["GreenAPI_Token"];
2025-03-01 16:51:02 +03:00
PhoneNumber = 441234567890;
AccessParameters = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
Result = OPI_GreenAPI.GetAuthorizationCode(AccessParameters, PhoneNumber);