1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/GreenMax/SetGroupPicture.txt
Vitaly the Alpaca (bot) f9e570382b Main build (Jenkins)
2025-10-25 10:56:49 +03:00

11 lines
526 B
Plaintext
Vendored

ApiUrl = "https://3100.api.green-api.com/v3";
MediaUrl = "https://3100.api.green-api.com/v3";
IdInstance = "31003...";
ApiTokenInstance = "17915d8e0b4b4975a183478da...";
Image = "https://hut.openintegrations.dev/test_data/spy2.png"; // URL, Path or Binary Data
ChatID = 12345678;
AccessParameters = OPI_GreenMax.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
Result = OPI_GreenMax.SetGroupPicture(AccessParameters, ChatID, Image);