This commit is contained in:
cdle
2021-10-07 07:57:28 +08:00
parent 91ea4d1ae2
commit e4c27ed95b
+1 -1
View File
@@ -97,7 +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.Download(&m.Photo.File,"")