1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-09 07:14:16 +02:00
OpenIntegrations/docs/en/examples/GreenAPI/RevokeAdminRights.txt
Vitaly the Alpaca (bot) 4b4394db7f Main build (Jenkins)
2025-03-06 20:58:59 +03:00

11 lines
478 B
Plaintext
Vendored

ApiUrl = "https://7105.api.greenapi.com";
MediaUrl = "https://7105.media.greenapi.com";
IdInstance = "71051...";
ApiTokenInstance = "425010d90e114aa6b78f0969e...";
GroupID = "120363410798027942@g.us";
UserID = "123123123@c.us";
AccessParameters = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
Result = OPI_GreenAPI.RevokeAdminRights(AccessParameters, GroupID, UserID);