python-zulip-api/zulip_bots/zulip_bots/bots/link_shortener/doc.md

20 lines
646 B
Markdown
Raw Normal View History

# Link Shortener Bot
Link Shortener Bot is a Zulip bot that will shorten URLs ("links") in a
conversation. It uses the [bitly URL shortener API] to shorten its links.
Use [this](https://dev.bitly.com/get_started.html) to get your API Key.
Links can be anywhere in the message, for example,
> @**Link Shortener Bot** @**Joe Smith** See
> https://github.com/zulip/python-zulip-api/tree/master/zulip_bots/zulip_bots/bots
> for a list of all Zulip bots.
and LS Bot would respond
> https://github.com/zulip/python-zulip-api/tree/master/zulip_bots/zulip_bots/bots:
> **https://bit.ly/2FF3QHu**
[bitly URL shortener API]: https://bitly.com/