1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-06-15 00:15:19 +02:00
Files
OpenIntegrations/docs/en/examples/GreenAPI/GetAuthorizationCode.txt
Vitaly the Alpaca (bot) c4b2506cd0 Main build (Jenkins)
2025-03-01 16:51:02 +03:00

10 lines
436 B
Plaintext
Vendored

ApiUrl = "https://7105.api.greenapi.com";
MediaUrl = "https://7105.media.greenapi.com";
IdInstance = "71051...";
ApiTokenInstance = "425010d90e114aa6b78f0969e...";
PhoneNumber = 441234567890;
AccessParameters = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
Result = OPI_GreenAPI.GetAuthorizationCode(AccessParameters, PhoneNumber);