1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-12 08:23:58 +02:00
go-micro/agent/input/telegram
2019-05-31 00:18:41 +01:00
..
conn.go Add agent => bot 2019-05-31 00:18:41 +01:00
README.md Add agent => bot 2019-05-31 00:18:41 +01:00
telegram.go Add agent => bot 2019-05-31 00:18:41 +01:00

Telegram Messenger input for micro bot

Telegram support for micro bot based on telegram-bot-api.

Options

--telegram_token (required)

Sets bot's token for interacting with API.

Head over to Telegram's API documentation to learn how to create bots and how the API works.

--telegram_debug

Sets the debug flag to make the bot's output verbose.

--telegram_whitelist

Sets a list of comma-separated nicknames (without @ symbol in the beginning) for interacting with bot. Only these users can use the bot.