IadRabbit / Twilio-Telegram-Bot

A simple telegram bot for sending SMS through TWILIO API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twilio-Telegram-Bot

Python 3.7

A simple telegram bot for sending SMS through TWILIO API

Installation

Installing dependencies

pip3 install -r req.txt

Config bot

First before you start the bot you need to fill proprely the variables inside the settings.py

__bot_token = "" # YOUR TELEGRAM BOT TOKEN TALK TO @BotFather
__twilio_account_sid = "" # YOUR TWILIO ACCOUNT SID CAN BE FOUND HERE https://console.twilio.com/?frameUrl=/console
__twilio_auth_token = "" # YOUR TWILIO AUTH TOKEN CAN BE FOUND HERE https://console.twilio.com/?frameUrl=/console
twilio_messaging_service_sid = "" # YOUR TWILIO MESSAGING SERVICE SID CAN BE FOUND HERE  https://console.twilio.com/us1/develop/sms/services?frameUrl=/console/sms/services

Start bot

And then just use it :)

./twilio_bot.py

Bot Commands

  • /start
  • /send_message

About

A simple telegram bot for sending SMS through TWILIO API

License:GNU General Public License v3.0


Languages

Language:Python 100.0%