logic

package
v0.0.0-...-a23b374 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BotInit

func BotInit(token, publicUrl string) *tgbotapi.BotAPI

func Handler

func Handler(w http.ResponseWriter, r *http.Request)

func MirrorPush

func MirrorPush(id int64, bt *tgbotapi.BotAPI, txt string)

повторяет любое текстовое сообщение

func Replier

func Replier(update tgbotapi.Update, bot *tgbotapi.BotAPI)

func ReplyHello

func ReplyHello(message *tgbotapi.Message, bt *tgbotapi.BotAPI)

reply-to-message сообщение, выводится после команды /hello

func Start

func Start(id int64, bt *tgbotapi.BotAPI)

стартовое сообщение, выводится при первом контакте с ботом, а так же после команды /start

Types

This section is empty.

Jump to

Keyboard shortcuts

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