Skip to main content

Telegram bot for ChatGPT

Send voice notes in any language (which will be translated to English) or text messages to ChatGPT.

Set environment variables

  • TELEGRAM_BOT_TOKEN: Telegram token from bot created using @BotFather
  • TELEGRAM_CLIENT_ID: Telegram client ID from @userinfobot
  • OPENAI_API_KEY: OpenAI API key from OpenAI

Installation

pip install telegpt

Launch the bot

telegpt

Usage

  • Text /new to the bot to restart so it forget the last conversation.
  • Voice notes in any language will be translated to English before being passed to ChatGPT.

Metadata

Release files for telegpt 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telegpt 0.1.1
File Size Uploaded
telegpt-0.1.1.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for telegpt 0.1.1
File Interpreter ABI Platform
telegpt-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 13.2 kB

Release files / telegpt-0.1.1.tar.gz

Download URL telegpt-0.1.1.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d4befeb3550e1270bfb02ff773fadb4dee11d57e79f673b15343f8bb3e6a08a4
BLAKE2b-256 checksum
How to use checksums
82a46ae88bfa76ec57093504f7eb56b843587d67f19501322f0fd6d189023cc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / telegpt-0.1.1-py2.py3-none-any.whl

Download URL telegpt-0.1.1-py2.py3-none-any.whl
Size 6.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6f6259921e9c60d9f74e66fee8cb6a60f583de40c2dfe90f349c4e0dbffe2c61
BLAKE2b-256 checksum
How to use checksums
ecdfa151a0681a9b3af69b57b87ab018d72200433928c2f4b9eb2bd6f19b2d13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page