You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-12-01 22:29:52 +02:00
13 lines
623 B
Plaintext
13 lines
623 B
Plaintext
|
|
ApiUrl = "https://3100.api.green-api.com/v3";
|
||
|
|
MediaUrl = "https://3100.api.green-api.com/v3";
|
||
|
|
IdInstance = "31003...";
|
||
|
|
ApiTokenInstance = "17915d8e0b4b4975a183478da...";
|
||
|
|
|
||
|
|
File = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||
|
|
FileName = "photo.jpg";
|
||
|
|
ChatID = 12345678;
|
||
|
|
Description = "File description";
|
||
|
|
|
||
|
|
AccessParameters = OPI_GreenMax.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance);
|
||
|
|
Result = OPI_GreenMax.SendFile(AccessParameters, ChatID, File, FileName, Description);
|