diff --git a/components/notify.telegram/index.html b/components/notify.telegram/index.html
index a838bc8cf3..0734e1428a 100644
--- a/components/notify.telegram/index.html
+++ b/components/notify.telegram/index.html
@@ -98,18 +98,7 @@
The chat_id
of an user.
-An easy way to get your chat ID is described below:
-
-
-
import telegram
-bot = telegram.Bot(token='YOUR_API_TOKEN')
-chat_id = bot.getUpdates()[-1].message.chat_id
-print(chat_id)
-
-
-
-
-Another way to retrieve your chat_id
is visiting https://api.telegram.org/botYOUR_API_TOKEN/getUpdates.
+The quickest way to retrieve your chat_id
is visiting https://api.telegram.org/botYOUR_API_TOKEN/getUpdates.
The result set will include your chat ID as id
in the from
section:
@@ -129,6 +118,18 @@ print(chat_id)
+Another way to get your chat ID directly is described below:
+
+
+
import telegram
+bot = telegram.Bot(token='YOUR_API_TOKEN')
+chat_id = bot.getUpdates()[-1].message.chat_id
+print(chat_id)
+123456789
+
+
+
+
To enable Telegram notifications in your installation, add the following to your configuration.yaml
file:
diff --git a/sitemap.xml b/sitemap.xml
index bdefd5b460..93b398b631 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -2041,62 +2041,62 @@
https://home-assistant.io/demo/frontend.html
- 2016-08-08T12:17:23+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/demo/index.html
- 2016-08-08T12:17:23+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
- 2016-08-08T12:17:23+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
- 2016-08-08T12:17:23+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
- 2016-08-08T12:17:23+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
- 2016-08-08T12:17:23+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
- 2016-08-08T12:17:23+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
- 2016-08-08T12:17:23+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
- 2016-08-08T12:17:23+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
- 2016-08-08T12:17:23+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
- 2016-08-08T12:17:23+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
- 2016-08-08T12:17:23+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
- 2016-08-08T12:17:24+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
- 2016-08-08T12:17:24+00:00
+ 2016-08-08T12:47:39+00:00
https://home-assistant.io/static/mdi-demo.html
- 2016-08-08T12:17:24+00:00
+ 2016-08-08T12:47:39+00:00