Documentation ¶
Index ¶
- func BotInit(token, publicUrl string) *tgbotapi.BotAPI
- func Handler(w http.ResponseWriter, r *http.Request)
- func MirrorPush(id int64, bt *tgbotapi.BotAPI, txt string)
- func Replier(update tgbotapi.Update, bot *tgbotapi.BotAPI)
- func ReplyHello(message *tgbotapi.Message, bt *tgbotapi.BotAPI)
- func Start(id int64, bt *tgbotapi.BotAPI)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MirrorPush ¶
повторяет любое текстовое сообщение
func ReplyHello ¶
func ReplyHello(message *tgbotapi.Message, bt *tgbotapi.BotAPI)
reply-to-message сообщение, выводится после команды /hello
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.