update
This commit is contained in:
+1
-2
@@ -97,8 +97,7 @@ func init() {
|
|||||||
b.Send(ct, s)
|
b.Send(ct, s)
|
||||||
}
|
}
|
||||||
b.Handle(tb.OnPhoto, func(m *tb.Message) {
|
b.Handle(tb.OnPhoto, func(m *tb.Message) {
|
||||||
b.Send(m.Chat, m.Caption)
|
b.Send(m.Chat, m.Caption+" "+m.AlbumID)
|
||||||
b.SendAlbum(m.Chat, tb.Album{&tb.Photo{File: tb.FromReader(m.Photo.FileReader)}})
|
|
||||||
|
|
||||||
// b.Download(&m.Photo.File,"")
|
// b.Download(&m.Photo.File,"")
|
||||||
// m.Text = fmt.Sprintf(`[CQ:image,url=%s]`, m.Photo.FileURL) + m.Caption
|
// m.Text = fmt.Sprintf(`[CQ:image,url=%s]`, m.Photo.FileURL) + m.Caption
|
||||||
|
|||||||
Reference in New Issue
Block a user