Updated Code snippets (markdown)

stdz56 2020-10-12 19:55:05 +02:00
parent db07bc4978
commit 5004e0debc

@ -291,7 +291,7 @@ list_of_urls = [
media_group = list() media_group = list()
for number, url in enumerate(list_of_urls): 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) bot.send_media_group(chat_id=chat_id, media=media_group)
``` ```