Skip to content

Commit

Permalink
bot: describe how to include the caption in SendAlbum docs
Browse files Browse the repository at this point in the history
  • Loading branch information
demget committed Nov 19, 2023
1 parent fb8ce2a commit c581e83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ func (b *Bot) Send(to Recipient, what interface{}, opts ...interface{}) (*Messag
}

// SendAlbum sends multiple instances of media as a single message.
// To include the caption, make sure the first Inputtable of an album has it.
// From all existing options, it only supports tele.Silent.
func (b *Bot) SendAlbum(to Recipient, a Album, opts ...interface{}) ([]Message, error) {
if to == nil {
Expand Down

0 comments on commit c581e83

Please sign in to comment.