telegram

package
v1.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

README

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.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatType

type ChatType string
const (
	Private    ChatType = "private"
	Group      ChatType = "group"
	Supergroup ChatType = "supergroup"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL