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-08-19 00:12:45 +03:00
 Token = "ya29.a0AS3H6NzBvZMqAHYjwlEe4l4y-AHnSr4-BXERGsW3H9CvGOBKb9fD7cfPFIlTE-5q5q3Yz9TrlvlqNUEwGfw1hYgTLGk3KkvWPyiX0DSuL...";
2025-06-29 14:35:33 +03:00
Image = "https://hut.openintegrations.dev/test_data/picture.jpg";
2025-07-28 20:20:57 +03:00
Directory = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
2024-09-28 19:38:00 +03:00
Description = OPI_GoogleDrive.GetFileDescription();
Description.Insert("Parent", Directory);
Result = OPI_GoogleDrive.UploadFile(Token, Image, Description);