diff --git a/Code-snippets.md b/Code-snippets.md index ca9ba01..ba64109 100644 --- a/Code-snippets.md +++ b/Code-snippets.md @@ -291,7 +291,7 @@ list_of_urls = [ media_group = list() for number, url in enumerate(list_of_urls): - media_group.append(InputMediaPhoto(media=url), caption="Turtle" + number) + media_group.append(InputMediaPhoto(media=url, caption="Turtle" + number)) bot.send_media_group(chat_id=chat_id, media=media_group) ```