Eliminate double bandwidth usage and local disk overhead. Stream files, clone cloud assets instantly, generate self-destructing download links, and manage Drive permissions directly from your Telegram interface.
DS GDrive Bot utilizes granular Google Drive REST APIs to deliver secure, encrypted, and modular cloud workflows. Below is a comprehensive breakdown of user workflows and API integration scopes.
Users initiate connection by triggering /start. The bot generates a verified Google OAuth consent flow where the user explicitly grants granular Drive access. Once validated, persistent session menus activate instantly without manual re-authorization.
Forward documents, photos, audio, videos, or animations directly into the chat. The bot streams binary byte-streams directly into the designated Google Drive folder with live progress metrics (current speed, average speed, elapsed time, and ETA).
POST /upload/drive/v3/files?uploadType=resumable for non-blocking buffered chunk transmission.
When users submit public Google Drive links, the bot bypasses network downlinking entirely. It leverages direct server-to-server duplication to clone the asset directly into the user's selected directory in seconds.
POST https://www.googleapis.com/drive/v3/files/{fileId}/copy bypassing server network interfaces.
Submitting platform-generated temporary links triggers an authenticated internal fast-path. The file is seamlessly cloned from the internal storage pool into the user's private drive via authorized permission leasing.
drive.permissions.create and executes atomic internal duplication.
Users can generate direct HTTPS secure download links without exposing their Google credentials or account identities. Links are cryptographically signed with MD5 hashing, feature high-speed CDN routing, and automatically purge after 24 hours.
rclone deletefile.
A dynamic hierarchical browser within Telegram. Create directories, configure default upload destinations, inline-rename assets, and toggle privacy between Public (Anyone with link) and Private (Restricted) with real-time UI indicator badges.
files.list, files.create (folder MIME type), and dynamic permissions.create / delete.
Inspect stored files and send them straight back to Telegram. Assets stream directly from Google Drive into native media formats (compressed Photos, Video players, or Documents) via customized binary stream buffers up to Telegram's 2GB file limit.
GET /drive/v3/files/{fileId}?alt=media piped into a virtual io.IOBase stream pointer.
Run deep Drive audits detailing total quota, free capacity, file distributions, and largest stored assets. Includes an integrated Trash Bin interface for selective one-click file restoration, permanent deletion, or bulk empty operations.
about.get(fields="storageQuota"), files.update(trashed=false), and files.emptyTrash.