-
Notifications
You must be signed in to change notification settings - Fork 2
sendMediaGroup Method
Benjamin Khalife edited this page Jun 3, 2020
·
4 revisions
Send group photos
bot::this()
->mediaGroup()
->photo(file_id1)
->photo(file_id2)
// ...
->send()
Send group photos With caption
bot::this()
->mediaGroup()
->photo(file_id1)->caption('caption 1')
->photo(file_id2)->caption('caption 2')
->send()
message method |
---|
photo($file_id) |
video($file_id) |
animation($file_id) |
audio($file_id) |
document($file_id) |
option method |
---|
caption($caption) |
parse_mode("HTML") |
width($int) |
height($int) |
duration($int) |
supports_streaming($val) |
performer($val) |
title($val) |
thumb($val) |