You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
11 lines
537 B
Plaintext
Vendored
11 lines
537 B
Plaintext
Vendored
ApiUrl = FunctionParameters["GreenAPI_ApiURL"];
|
|
MediaUrl = FunctionParameters["GreenAPI_MediaURL"];
|
|
IdInstance = FunctionParameters["GreenAPI_IdInstance"];
|
|
ApiTokenInstance = FunctionParameters["GreenAPI_Token"];
|
|
|
|
GroupID = FunctionParameters["GreenAPI_GroupID"];
|
|
UserID = "123123123@c.us";
|
|
|
|
AccessParameters = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
|
|
Result = OPI_GreenAPI.SetAdminRights(AccessParameters, GroupID, UserID);
|