Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz0u committed Jan 19, 2025
1 parent 9f689e1 commit 1deeee3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions src/2/send-msg/media-msg.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ await bot.SendAnimation(chatId, "https://telegrambots.github.io/book/docs/video-
```


# Media group (album of multiple media)
## Media group (album of multiple media)

[![send media group method](https://img.shields.io/badge/Bot_API_method-sendMediaGroup-blue.svg?style=flat-square)](https://core.telegram.org/bots/api#sendmediagroup)
[![tests](https://img.shields.io/badge/Examples-Album_Messages-green.svg?style=flat-square)](https://github.com/TelegramBots/Telegram.Bot/blob/master/test/Telegram.Bot.Tests.Integ/Sending%20Messages/AlbumMessageTests.cs)
Expand All @@ -201,9 +201,3 @@ var messages = await bot.SendMediaGroup(chatId, new IAlbumInputMedia[]
```

Note that media groups can't have reply markup. The caption must be set an one of the media (usually the first)

<!-- -------------- -->

[`Message`]: https://core.telegram.org/bots/api#message
[`PhotoSize`]: https://core.telegram.org/bots/api#photosize
[`Sticker`]: https://core.telegram.org/bots/api#sticker
2 changes: 1 addition & 1 deletion src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- [Full Example](1/full-bot.md)
- [Beginner](2/README.md)
- [Sending Messages](2/send-msg/README.md)
- [Sending Media](send-msg/media-msg.md)
- [Sending Media](2/send-msg/media-msg.md)
- [Native Polls](2/send-msg/native-polls-msg.md)
- [Other Messages](2/send-msg/other-msg.md)
- [Dealing with chats](2/chats.md)
Expand Down

0 comments on commit 1deeee3

Please sign in to comment.