1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-01 22:29:52 +02:00
Files
OpenIntegrations/docs/en/examples/GoogleDrive/UpdateFile.txt
Vitaly the Alpaca (bot) 50e6ac2e6d Main build (Jenkins)
2025-09-15 13:14:53 +03:00

7 lines
430 B
Plaintext
Vendored

Token = "ya29.a0AQQ_BDTgQbn9c5rXhPK3FCakms_7oKkdIWE1CCQFnSPftb2RxvloVqnYOcnsAKhXrD0Gq8Tz2Kgn5IBXG5E25uksZfvvTtXob-jFcuj_9LZYs9La4HrcFk766...";
NewName = "UpdatedFile.jpg";
Identifier = "1lZ0YvekgaZiJuZay2g2BiCAkRVrCjmNW";
File = "https://hut.openintegrations.dev/test_data/picture2.jpg"; // URL, Binary Data or File path
Result = OPI_GoogleDrive.UpdateFile(Token, Identifier, File, NewName);