mirror of
https://github.com/caronc/apprise.git
synced 2025-03-03 09:31:31 +01:00
Updated Notify_telegram (markdown)
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```.
|
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
|
### Syntax
|
||||||
Valid are as follows:
|
Valid are as follows:
|
||||||
* **tgram**://**{bot_token}**/**{chat_id}**/
|
* **tgram**://**{bot_token}**/**{chat_id}**/
|
||||||
@ -23,7 +25,7 @@ This can also be written like so:
|
|||||||
| Variable | Required | Description
|
| Variable | Required | Description
|
||||||
| ----------- | -------- | -----------
|
| ----------- | -------- | -----------
|
||||||
| bot_token | Yes | The token that identifies the bot you created through the *[BotFather](https://botsfortelegram.com/project/the-bot-father/)*
|
| 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
|
#### Example
|
||||||
Send a telegram notification to lead2gold:
|
Send a telegram notification to lead2gold:
|
||||||
|
Loading…
Reference in New Issue
Block a user