Updated Notify_telegram (markdown)

lead2gold 2018-02-26 20:49:26 -05:00
parent c94af8d24e
commit 8954e8c6b4

@ -11,6 +11,8 @@ First off, Telegram notifications require you need to first access https://api.t
To do this you will be required in a chat with the **[BotFather](https://botsfortelegram.com/project/the-bot-father/)** to type: ```/newbot```. Answer the questions it asks after doing this (which get the name of it, etc). When you've completed this step, you will be provided an *bot_token* that looks something like this: ```123456789:alphanumeric_characters```.
You will need to ```/start``` the bot to get it going for good. You will not be able to send notifications through it until this final step is done.
### Syntax
Valid are as follows:
* **tgram**://**{bot_token}**/**{chat_id}**/
@ -23,7 +25,7 @@ This can also be written like so:
| Variable | Required | Description
| ----------- | -------- | -----------
| bot_token | Yes | The token that identifies the bot you created through the *[BotFather](https://botsfortelegram.com/project/the-bot-father/)*
| chat_id | Yes | Identify the users you want your bot to deliver your notifications to. You must specify at least 1 *chat_id*.
| chat_id | Yes | Identify the users you want your bot to deliver your notifications to. You must specify at least 1 *chat_id*. If you do not specify a chat_id, the notification script will attempt to detect the bot owner's (you) chat_id and use that.
#### Example
Send a telegram notification to lead2gold: