Closed
Description
SendMediaGroup don't have it's own caption parametr.
Solution is to add it to the first media as described here.
Current solution(add index caption under the hood):
respond_with :media_group, media: media_group
def media_group
bot_session['files_ids'].map.with_index { |file_id, index| { type: 'photo', media: file_id }.merge(index == 0 ? { caption: t('.content') } : {}) }
end
Request Feature:
respond_with :media_group, media: media_group, caption: t('.content')
Metadata
Metadata
Assignees
Labels
No labels