This commit is contained in:
cdle
2021-10-07 07:59:28 +08:00
parent e4c27ed95b
commit dafc183628
+1 -2
View File
@@ -97,8 +97,7 @@ func init() {
b.Send(ct, s)
}
b.Handle(tb.OnPhoto, func(m *tb.Message) {
b.Send(m.Chat, m.Caption)
b.SendAlbum(m.Chat, tb.Album{&tb.Photo{File: tb.FromReader(m.Photo.FileReader)}})
b.Send(m.Chat, m.Caption+" "+m.AlbumID)
// b.Download(&m.Photo.File,"")
// m.Text = fmt.Sprintf(`[CQ:image,url=%s]`, m.Photo.FileURL) + m.Caption