mirror of
https://github.com/caronc/apprise.git
synced 2025-03-04 10:01:39 +01:00
Updated Notify_telegram (markdown)
parent
b894abf693
commit
35dde0e40a
@ -34,10 +34,10 @@ Unfortunately (at this time) Telegram doesn't make it intuitive to get this **{c
|
||||
|
||||
However, Apprise can make this task a bit easier if the intention is to just private message yourself. If this is the case, simply send a private message to this new bot you just created (above). That's it!
|
||||
|
||||
By doing this, Apprise is able to automatically to detect _your_ **{chat_id}** from the message sent to the bot. Doing this also allows you to greatly simplify the Apprise URL to read:
|
||||
By doing this, Apprise is able to automatically to detect _your_ **{chat_id}** from the message sent to the bot.
|
||||
* **tgram**://**{bot_token}**/
|
||||
|
||||
When using the short form of the Telegram/Apprise URL and the bot owner (probably you) is successfully detected, the **{chat_id}** it detected will appear in the logs after the notification is sent. Ideally you should take this and update your Apprise URL to explicitly reference this in the future.
|
||||
When using the short form of the Telegram/Apprise URL and the bot owner (probably you) is successfully detected, the **{chat_id}** it detected will appear in the logs after the notification is sent. Note that the **Telegram API keeps incoming messages for 24 hours only**. Thus, you should update your Apprise URL to explicitly reference this in the future.
|
||||
* **tgram**://**{bot_token}**/**{chat_id}**
|
||||
|
||||
**Note**: you can also just go ahead and acquire the **{chat_id}** yourself after first messaging yourself as per the instructions above. Afterwards, you just need to visit `https://api.telegram.org/bot{bot_token}/getUpdates`.
|
||||
|
Loading…
Reference in New Issue
Block a user