https://github.com/riz4d/teletwilio
TeleTwilio is a Telegram bot that allows users to send text messages using the Twilio API.
https://github.com/riz4d/teletwilio
twilio-api
Last synced: about 1 year ago
JSON representation
TeleTwilio is a Telegram bot that allows users to send text messages using the Twilio API.
- Host: GitHub
- URL: https://github.com/riz4d/teletwilio
- Owner: riz4d
- License: mit
- Created: 2024-06-20T09:34:58.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-20T10:03:45.000Z (almost 2 years ago)
- Last Synced: 2025-03-28T02:04:33.176Z (about 1 year ago)
- Topics: twilio-api
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TeleTwilio
TeleTwilio is a Telegram bot Script that allows users to send text messages using the Twilio API.
### Features
- Send SMS: Easily send SMS messages by using the /send command followed by the recipient's phone number and your message.
- Confirmation: The bot provides a confirmation prompt before sending the message.
### Requirements
- Telegram API Credentials
- Twilio Account SID and Auth Token
- Firebase Realtime Database (for logging)
### Setup
1. Clone the Repository
```sh
git clone https://github.com/riz4d/TeleTwilio.git
```
```sh
cd TeleTwilio
```
2. Install Dependencies
```sh
pip install -r requirements.txt
```
3. Configure the Bot
- Put configs/telegram.py file with your Telegram API credentials:
- Put configs/firebase.py file with your Firebase configuration:
- Put a configs/twilioconf.py file with your Twilio credentials:
4. Run the Bot
```sh
python bot.py
```
### Usage
- Send a Message: Use the /send command followed by the recipient's phone number and your message.
Example:
```kotlin
/send +1234567890 Hello
```
### Notes:
- Firebase Setup: Make sure your Firebase database rules allow appropriate access as per your security requirements.
- Twilio Configuration: Replace placeholders with your actual Twilio account details and phone number.
- Bot Security: Consider enhancing the security of commands and messages involving sensitive information.