1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/examples/GreenAPI/SetGroupPicture.txt

11 lines
578 B
Plaintext
Raw Normal View History

2025-06-27 11:47:43 +03:00
 ApiUrl = FunctionParameters["GreenAPI_ApiURL"];
MediaUrl = FunctionParameters["GreenAPI_MediaURL"];
IdInstance = FunctionParameters["GreenAPI_IdInstance"];
ApiTokenInstance = FunctionParameters["GreenAPI_Token"];
2025-03-06 20:58:59 +03:00
2025-06-27 11:47:43 +03:00
Image = FunctionParameters["Picture"]; // URL, Path or Binary Data
GroupID = FunctionParameters["GreenAPI_GroupID"];
2025-03-06 20:58:59 +03:00
AccessParameters = OPI_GreenAPI.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
Result = OPI_GreenAPI.SetGroupPicture(AccessParameters, GroupID, Image);