1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/examples/GoogleDrive/UpdateFile.txt
Vitaly the Alpaca (bot) 84bd7e0360 Main build (Jenkins)
2025-10-15 14:32:00 +03:00

7 lines
430 B
Plaintext
Vendored

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