mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +01:00
Updated Code snippets (markdown)
parent
db07bc4978
commit
5004e0debc
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue