Skip to content

Commit

Permalink
Fix telegram bot documentation (home-assistant#12186)
Browse files Browse the repository at this point in the history
* Fix telegram bot documentation

"Telegram chatbot" should be called "Telegram bot", like the corresponding integration. The link to source was broken because of this, that's why I had to change the filename as well.

* Change redirect for telegram bot

* Add redirect for telegram_chatbot to telegram_bot

* Change internal links
  • Loading branch information
vigonotion authored Feb 28, 2020
1 parent 55e9890 commit a985a2b
Show file tree
Hide file tree
Showing 28 changed files with 35 additions and 34 deletions.
4 changes: 2 additions & 2 deletions source/_integrations/telegram.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The `telegram` platform uses [Telegram](https://web.telegram.org) to deliver not
The requirements are:

- You need a [Telegram bot](https://core.telegram.org/bots). Please follow those [instructions](https://core.telegram.org/bots#6-botfather) to create one and get the token for your bot. Keep in mind that bots are not allowed to contact users. You need to make the first contact with your user. Meaning that you need to send a message to the bot from your user.
- You need to configure a [Telegram bot in Home Assistant](/integrations/telegram_chatbot) and define there your API key and the allowed chat ids to interact with.
- You need to configure a [Telegram bot in Home Assistant](/integrations/telegram_bot) and define there your API key and the allowed chat ids to interact with.
- The `chat_id` of an allowed user.

**Method 1:** You can get your `chat_id` by sending any message to the [GetIDs bot](https://t.me/getidsbot).
Expand Down Expand Up @@ -87,7 +87,7 @@ notify:
```
Refer to the platforms mentioned in the
[Telegram chatbot page](/integrations/telegram_chatbot/) for
[Telegram chatbot page](/integrations/telegram_bot/) for
`telegram_bot` configuration.

{% configuration %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Telegram chatbot"
description: "Telegram chatbot support"
title: "Telegram bot"
description: "Telegram bot support"
logo: telegram.png
ha_category:
- Hub
Expand Down
4 changes: 2 additions & 2 deletions source/_posts/2017-04-22-ikea-tradfri--spotify.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[switch.tplink docs]: /integrations/tplink
[switch.wake_on_lan docs]: /integrations/wake_on_lan#switch
[switch.wemo docs]: /integrations/wemo
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[telegram_bot.polling docs]: /integrations/telegram_polling
[telegram_bot.webhooks docs]: /integrations/telegram_webhooks
[tts.google docs]: /integrations/google_translate
Expand All @@ -493,7 +493,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[cover.zwave docs]: /integrations/zwave#cover
[recorder docs]: /integrations/recorder/
[switch.wemo docs]: /integrations/wemo
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[telegram_bot.webhooks docs]: /integrations/telegram_webhooks
[wemo docs]: /integrations/wemo/
[#7271]: https://github.com/home-assistant/home-assistant/pull/7271
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2017-05-06-zigbee-opencv-dlib.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ influxdb:
[switch.thinkingcleaner docs]: /integrations/thinkingcleaner#switch
[switch.wemo docs]: /integrations/wemo
[switch.zha docs]: /integrations/zha
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[telegram_bot.polling docs]: /integrations/telegram_polling
[telegram_bot.webhooks docs]: /integrations/telegram_webhooks
[updater docs]: /integrations/updater/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,9 @@ Experiencing issues introduced by this release? Please report them in our [issue
[sensor.wunderground docs]: /integrations/wunderground
[sun docs]: /integrations/sun/
[switch.rpi_pfio docs]: /integrations/rpi_pfio#switch
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[telegram_bot.polling docs]: /integrations/telegram_polling
[telegram_bot.services.yaml docs]: /integrations/telegram_chatbot/#notification-services
[telegram_bot.services.yaml docs]: /integrations/telegram_bot/#notification-services
[telegram_bot.webhooks docs]: /integrations/telegram_webhooks
[tradfri docs]: /integrations/tradfri/
[vera docs]: /integrations/vera/
Expand All @@ -434,5 +434,5 @@ Experiencing issues introduced by this release? Please report them in our [issue
[device_tracker.ubus docs]: /integrations/ubus
[hassio docs]: /integrations/hassio/
[media_player.volumio docs]: /integrations/volumio
[telegram_bot.__init__ docs]: /integrations/telegram_chatbot/
[telegram_bot.__init__ docs]: /integrations/telegram_bot/
[discord]: https://discord.gg/c5DvZ4e
2 changes: 1 addition & 1 deletion source/_posts/2017-06-04-release-46.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[switch.broadlink docs]: /integrations/broadlink#switch
[switch.rachio docs]: /integrations/rachio#switch
[switch.rflink docs]: /integrations/switch.rflink/
[telegram_bot.__init__ docs]: /integrations/telegram_chatbot/
[telegram_bot.__init__ docs]: /integrations/telegram_bot/
[telegram_bot.polling docs]: /integrations/telegram_polling
[telegram_bot.webhooks docs]: /integrations/telegram_webhooks
[tellduslive docs]: /integrations/tellduslive/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2017-06-17-release-47.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ automation:
[switch.raspihats docs]: /integrations/raspihats#switch
[switch.rest docs]: /integrations/switch.rest/
[switch.template docs]: /integrations/switch.template/
[telegram_bot.__init__ docs]: /integrations/telegram_chatbot/
[telegram_bot.__init__ docs]: /integrations/telegram_bot/
[telegram_bot.polling docs]: /integrations/telegram_polling
[telegram_bot.webhooks docs]: /integrations/telegram_webhooks
[updater docs]: /integrations/updater/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2017-07-02-release-48.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ light:
[switch.verisure docs]: /integrations/verisure
[switch.wake_on_lan docs]: /integrations/wake_on_lan#switch
[tado docs]: /integrations/tado/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[telegram_bot.webhooks docs]: /integrations/telegram_webhooks
[tellduslive docs]: /integrations/tellduslive/
[tts docs]: /integrations/tts/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2017-07-16-release-49.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ amcrest:
[@maikelwever]: https://github.com/maikelwever
[@ypollart]: https://github.com/ypollart
[binary_sensor.rfxtrx docs]: /integrations/binary_sensor.rfxtrx/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[#8545]: https://github.com/home-assistant/home-assistant/pull/8545
[#8571]: https://github.com/home-assistant/home-assistant/pull/8571
[#8601]: https://github.com/home-assistant/home-assistant/pull/8601
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2017-08-12-release-51.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ vacuum:
[switch.rainmachine docs]: /integrations/rainmachine#switch
[switch.wink docs]: /integrations/wink#switch
[switch.xiaomi_vacuum docs]: /integrations/vacuum.xiaomi_miio/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[updater docs]: /integrations/updater/
[vacuum docs]: /integrations/vacuum/
[vacuum.demo docs]: /integrations/vacuum.demo/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2017-09-09-release-53.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ frontend:
[switch.rest docs]: /integrations/switch.rest/
[switch.rfxtrx docs]: /integrations/switch.rfxtrx/
[switch.knx docs]: /integrations/switch.knx/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[tesla docs]: /integrations/tesla/
[tradfri docs]: /integrations/tradfri/
[volvooncall docs]: /integrations/volvooncall/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2017-10-21-release-56.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[switch.tplink docs]: /integrations/tplink
[switch.wink docs]: /integrations/wink#switch
[switch.xiaomi_miio docs]: /integrations/switch.xiaomi_miio/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[tesla docs]: /integrations/tesla/
[toon docs]: /integrations/toon/
[tradfri docs]: /integrations/tradfri/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2017-11-18-release-58.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[switch.snmp docs]: /integrations/snmp#switch
[switch.xiaomi_miio docs]: /integrations/switch.xiaomi_miio/
[system_log docs]: /integrations/system_log/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[telegram_bot.polling docs]: /integrations/telegram_polling
[tradfri docs]: /integrations/tradfri/
[tts docs]: /integrations/tts/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2018-01-14-release-61.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ Note however, that this feature was replaced by a new ignore_string config optio
[switch.transmission docs]: /integrations/transmission
[switch.xiaomi_miio docs]: /integrations/switch.xiaomi_miio/
[tahoma docs]: /integrations/tahoma/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[timer docs]: /integrations/timer/
[tts.baidu docs]: /integrations/baidu
[tts.marytts docs]: /integrations/marytts
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2018-02-26-release-64.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[switch.smappee docs]: /integrations/smappee
[switch.xiaomi_miio docs]: /integrations/switch.xiaomi_miio/
[tahoma docs]: /integrations/tahoma/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[vacuum.xiaomi_miio docs]: /integrations/vacuum.xiaomi_miio/
[vera docs]: /integrations/vera/
[weather.buienradar docs]: /integrations/buienradar
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2018-03-30-release-66.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[switch.vesync docs]: /integrations/vesync#switches
[switch.xiaomi_miio docs]: /integrations/switch.xiaomi_miio/
[switch.zha docs]: /integrations/zha
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[upcloud docs]: /integrations/upcloud/
[vacuum.xiaomi_miio docs]: /integrations/vacuum.xiaomi_miio/
[weather.darksky docs]: /integrations/weather.darksky/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2018-05-18-release-70.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[switch.tahoma docs]: /integrations/tahoma
[system_log docs]: /integrations/system_log/
[tahoma docs]: /integrations/tahoma/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[tts docs]: /integrations/tts/
[updater docs]: /integrations/updater/
[weather.bom docs]: /integrations/bom
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2018-09-15-release-78.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ The configuration value type should no longer be used. ([@endor-force] - [#15935
[switch.tahoma docs]: /integrations/tahoma
[switch.tplink docs]: /integrations/tplink
[tahoma docs]: /integrations/tahoma/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[tts docs]: /integrations/tts/
[upnp docs]: /integrations/upnp/
[vacuum docs]: /integrations/vacuum/
Expand Down
4 changes: 2 additions & 2 deletions source/_posts/2018-10-12-release-80.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ On the devices side, we got basic support for the new IKEA TRÅDFRI switches, Ho
[camera.blink docs]: /integrations/blink
[cloud docs]: /integrations/cloud/
[sensor.blink docs]: /integrations/blink
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/

## Release 0.80.3 - October 18

Expand Down Expand Up @@ -709,7 +709,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[switch.tradfri docs]: /integrations/tradfri
[switch.volvooncall docs]: /integrations/volvooncall
[switch.xiaomi_aqara docs]: /integrations/switch.xiaomi_aqara/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[tibber docs]: /integrations/tibber/
[timer docs]: /integrations/timer/
[tradfri docs]: /integrations/tradfri/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2018-10-29-release-81.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[switch.xiaomi_aqara docs]: /integrations/switch.xiaomi_aqara/
[switch.xiaomi_miio docs]: /integrations/switch.xiaomi_miio/
[switch.zwave docs]: /integrations/zwave
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[tts docs]: /integrations/tts/
[twilio docs]: /integrations/twilio/
[unifi docs]: /integrations/unifi/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2018-11-08-release-82.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[switch.xiaomi_aqara docs]: /integrations/switch.xiaomi_aqara/
[switch.xiaomi_miio docs]: /integrations/switch.xiaomi_miio/
[switch.zigbee docs]: /integrations/zigbee#switch
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[tts docs]: /integrations/tts/
[twilio docs]: /integrations/twilio/
[updater docs]: /integrations/updater/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2019-03-13-release-89.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[switch.tplink docs]: /integrations/tplink
[system_log docs]: /integrations/system_log/
[tahoma docs]: /integrations/tahoma/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[tellduslive docs]: /integrations/tellduslive/
[tibber docs]: /integrations/tibber/
[toon docs]: /integrations/toon/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2019-04-03-release-91.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[switch docs]: /integrations/switch/
[switchbot docs]: /integrations/switchbot/
[systemmonitor docs]: /integrations/systemmonitor/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[tellduslive docs]: /integrations/tellduslive/
[tfiac docs]: /integrations/tfiac/
[tibber docs]: /integrations/tibber/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2019-04-24-release-92.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[stream docs]: /integrations/stream/
[supla docs]: /integrations/supla/
[switch docs]: /integrations/switch/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[tellduslive docs]: /integrations/tellduslive/
[tplink docs]: /integrations/tplink/
[trend docs]: /integrations/trend/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2019-05-16-release-93.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[systemmonitor docs]: /integrations/systemmonitor/
[tapsaff docs]: /integrations/tapsaff/
[ted5000 docs]: /integrations/ted5000/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[tellduslive docs]: /integrations/tellduslive/
[tensorflow docs]: /integrations/tensorflow/
[thethingsnetwork docs]: /integrations/thethingsnetwork/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2020-01-15-release-104.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -2028,7 +2028,7 @@ Make sure to fill in all fields of the issue template, that is helping us a lot!
[tado docs]: /integrations/tado/
[tahoma docs]: /integrations/tahoma/
[tank_utility docs]: /integrations/tank_utility/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[tellduslive docs]: /integrations/tellduslive/
[template docs]: /integrations/template/
[tesla docs]: /integrations/tesla/
Expand Down
2 changes: 1 addition & 1 deletion source/_posts/2020-02-26-release-106.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
[system_log docs]: /integrations/system_log/
[tado docs]: /integrations/tado/
[tahoma docs]: /integrations/tahoma/
[telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot docs]: /integrations/telegram_bot/
[template docs]: /integrations/template/
[tensorflow docs]: /integrations/tensorflow/
[tesla docs]: /integrations/tesla/
Expand Down
3 changes: 2 additions & 1 deletion source/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -1887,7 +1887,7 @@
/components/ted5000 /integrations/ted5000
/components/teksavvy /integrations/teksavvy
/components/telegram /integrations/telegram
/components/telegram_bot /integrations/telegram_chatbot
/components/telegram_bot /integrations/telegram_bot
/components/tellduslive /integrations/tellduslive
/components/tellstick /integrations/tellstick
/components/telnet /integrations/telnet
Expand Down Expand Up @@ -2040,6 +2040,7 @@

# Breaking changes
/integrations/switch.pca /integrations/elv
/integrations/telegram_chatbot /integrations/telegram_bot

# Moved documentation
/docs/ecosystem/ios/ https://companion.home-assistant.io/
Expand Down

0 comments on commit a985a2b

Please sign in to comment.