-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e6aa87
commit a9f2dfb
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
## earthquake_bot | ||
This example shows how to program a Telegram Bot that will alert you if there is a recent earthquake somewhere in the world. | ||
|
||
### How to create a new Bot and obtain its private token ? | ||
1. Open the Telegram mobile app and search BotFather | ||
2. Send BotFather a command /newbot | ||
3. Follow instructions to create a new Bot | ||
4. After you finish the instructions, you will receive a Bot Token, make sure you keep it secured. | ||
|
||
## Commands | ||
![Commands](commands.jpg) | ||
<img src="commands.jpg" alt="Commands" width="300"/> | ||
|
||
## Alerts | ||
![Alerts](alerts.jpg) | ||
<img src="alerts.jpg" alt="Alerts" width="300"/> |