diff --git a/bot.go b/bot.go index fe0a93c..fbca447 100644 --- a/bot.go +++ b/bot.go @@ -48,3 +48,15 @@ func botQuery(q *tb.Query) { func botText(m *tb.Message) { PrintText(m) } + +func sendChat(chatID int64, text string) { + opt := tb.SendOptions{ + ParseMode: tb.ModeDefault, + } + + ch := tb.Chat{ + ID: chatID, + } + _, err := bot.Send(&ch, c.Text, &opt) + +}