1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-21 23:57:40 +02:00
Files
OpenIntegrations/docs/en/examples/GoogleDrive/UploadFile.txt

9 lines
436 B
Plaintext
Raw Normal View History

2025-07-16 19:45:17 +03:00
 Token = "ya29.a0AS3H6NwHOdgzuHM2BJzqNlazILJ-ybYnI9jGKERrU7MOa8IQFt9pNQonv_qA7vy-kRNoWMYrSy6ERg3WmsA_HvBc1PlSkscXSc37jj0xx...";
2025-06-29 14:35:33 +03:00
Image = "https://hut.openintegrations.dev/test_data/picture.jpg";
2025-07-16 19:45:17 +03:00
Directory = "11Mo30odYPEtBBU_0OndFx5dz1kP7tu-Y";
2024-09-28 19:38:00 +03:00
Description = OPI_GoogleDrive.GetFileDescription();
Description.Insert("Parent", Directory);
Result = OPI_GoogleDrive.UploadFile(Token, Image, Description);