1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-28 09:08:38 +02:00
OpenIntegrations/docs/en/examples/GoogleDrive/UpdateFile.txt
2024-10-15 09:53:37 +03:00

7 lines
452 B
Plaintext

Token = "ya29.a0AcM612wD1Uh1izWoUeXoBTM33TS6PlaGZFI6xXeGHeWT2_ZZZ0UbpJzbIurRFIjYKBnh4ZJ0HEgC9HNppTpTV6hgI7ZOwZO6J5KZlEbzH...";
NewName = "UpdatedFile.jpg";
Identifier = "17pGWmj6IhPQB-wRJS3QOzqfqGghLRUGH";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Binary Data or Path to file
Result = OPI_GoogleDrive.UpdateFile(Token, Identifier, File, NewName);