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"; FileName = "photo.jpg"; ChatID = 12345678; Description = "File description"; AccessParameters = OPI_GreenMax.FormAccessParameters(ApiUrl, MediaUrl, IdInstance, ApiTokenInstance); Result = OPI_GreenMax.SendFileByURL(AccessParameters, ChatID, File, FileName);