1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-03 22:39:12 +02:00
Files
OpenIntegrations/docs/en/examples/GoogleDrive/UploadFile.txt

11 lines
483 B
Plaintext
Raw Normal View History

2025-10-21 21:43:05 +03:00
 Token = "ya29.a0AQQ_BDTEToh-GItDaON1RKItxn8oyyucs96C7wzRz-nN6Qcr3d7C5ogtN18HBpUDAewZxDbcc3jAtrj2aIO0zuU4KLYSMRkyFoLt8ZuczyuBGNtxdl-3opaY1...";
2025-10-21 11:36:43 +03:00
Image = "https://hut.openintegrations.dev/test_data/picture.jpg";
Directory = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
2024-09-28 19:38:00 +03:00
2025-09-16 15:56:31 +03:00
Clear = False;
Description = OPI_GoogleDrive.GetFileDescription(Clear);
2024-09-28 19:38:00 +03:00
Description.Insert("Parent", Directory);
Result = OPI_GoogleDrive.UploadFile(Token, Image, Description);