mirror of
https://github.com/nikdoof/smsbot.git
synced 2025-12-24 15:19:23 +00:00
Improve code quality
This commit is contained in:
12
README.md
12
README.md
@@ -1,22 +1,22 @@
|
||||
# Twilio2Telegram
|
||||
#  Twilio2Telegram
|
||||
|
||||
Forward SMS and Calls from your Twilio number to Telegram
|
||||
|
||||
## Usage
|
||||
## Installation
|
||||
|
||||
### Clone the repository
|
||||
|
||||
`git clone git@github.com:FiveBoroughs/Twilio2Telegram.git`
|
||||
`git clone git@github.com:FiveBoroughs/Twilio2Telegram.git && cd Twilio2Telegram`
|
||||
|
||||
### Set the envirronement variables
|
||||
|
||||
`cp sample.env .env && vim .env`
|
||||
|
||||
Create your bot and obtain the BotToken by following the BotFather instructions : t.me/botfather
|
||||
Create your bot and obtain the BotToken by following the BotFather instructions : <https://t.me/botfather>
|
||||
|
||||
Get the telegram owner and subscribers chat id by talking to the bot in telegram, and watching this url `https://api.telegram.org/bot<BotToken>/getUpdates`
|
||||
|
||||
And the Twilio Token from twilio.com/console : hidden behind the "View" button, next to auth token
|
||||
And the Twilio Token from <https://twilio.com/console> : hidden behind the "View" button, next to auth token
|
||||
|
||||
### Launch the docker container
|
||||
|
||||
@@ -24,7 +24,7 @@ And the Twilio Token from twilio.com/console : hidden behind the "View" button,
|
||||
|
||||
### Set the Twilio webhooks destination
|
||||
|
||||
Click on the desired number twilio.com/console/phone-numbers/incoming
|
||||
Click on the desired number <https://twilio.com/console/phone-numbers/incoming>
|
||||
|
||||
And add the domain or ip of the server hosting Twilio2Telgram, `/call` for calls and `/message` for messages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user