This bot allows users to create new Google Docs in a shared folder, assign permissions to their Gmail, and track the created documents. All interactions are conducted in Persian.
- Create Google Docs from a template.
- Share the document with the user's Gmail.
- Track documents created by users to prevent duplication in the same folder.
- Supports Persian language for user interactions.
Create a conf.ini file in the root directory with the following format:
[TELEGRAM.BOT]
TOKEN = YOUR_TELEGRAM_BOT_TOKEN
[GOOGLE.API]
CREDS_PATH = path_to_your_service_account_credentials.json
SCOPES = https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/documents
[GOOGLE.DRIVE]
ONGOING_FOLDER_ID = YOUR_FOLDER_ID
TEMPLATE_DOC_ID = YOUR_TEMPLATE_DOC_ID
[IMDB.API]
TOKEN = YOUR_IMDB_API_TOKENNote: You should get your IMDB token from https://collectapi.com. It has a free subscription plan of 1000 requests per month.
- Start the bot with
/start. - Create a new document using
/send_text. - Select a folder and provide your Gmail.
- The bot will create a new document and share it with your Gmail.