update
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user