29 lines
761 B
Go
29 lines
761 B
Go
package nenefoot
|
|
|
|
import (
|
|
//"watn3y.de/bloaterbot/botIO"
|
|
//"watn3y.de/bloaterbot/config"
|
|
"fmt"
|
|
|
|
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api/v5"
|
|
//"github.com/rs/zerolog/log"
|
|
)
|
|
|
|
func Nenefoot(update tgbotapi.Update, bot *tgbotapi.BotAPI) {
|
|
|
|
msg3 := tgbotapi.NewInlineQueryResultVideo("hihi", "https://bloater.watn3y.de/5r5NJELyDKYSdPsX6fzK/7000%20Dollars%20for%20this%20car%2C%20but%20i%20got%20a%20slight%20dent.mp4")
|
|
msg3.MimeType = "video/mp4"
|
|
msg3.Title = "Rat Pencilcase"
|
|
msg3.ThumbURL = "https://i.imgur.com/XjCWMco.jpeg"
|
|
|
|
inline := tgbotapi.InlineConfig{
|
|
InlineQueryID: update.InlineQuery.ID,
|
|
Results: []interface{}{msg3},
|
|
CacheTime: 0,
|
|
}
|
|
|
|
if _, err := bot.Request(inline); err != nil {
|
|
fmt.Println(err)
|
|
}
|
|
|
|
}
|