23 lines
540 B
Go
23 lines
540 B
Go
package balonlyl
|
|
|
|
import (
|
|
"watn3y.de/bloaterbot/botIO"
|
|
"watn3y.de/bloaterbot/config"
|
|
|
|
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
|
|
)
|
|
|
|
//TODO logging
|
|
|
|
func Balonlyl(update tgbotapi.Update, bot *tgbotapi.BotAPI) {
|
|
|
|
message := tgbotapi.MessageConfig{
|
|
BaseChat: tgbotapi.BaseChat{ChatID: update.Message.Chat.ID, ReplyToMessageID: update.Message.MessageID},
|
|
ParseMode: "html",
|
|
DisableWebPagePreview: true,
|
|
|
|
Text: config.BotConfig.Balonlyl.BalonlylAT,
|
|
}
|
|
|
|
botIO.SendMessage(message, bot)
|
|
}
|