teloxide/crates/teloxide-core
Lymkwi 21bd325dea Document the behavior of captions for media groups
As discussed in #987, the current behavior of captions regarding media
groups is documented in neither teloxide nor the Telegram API[0]. Users
of the official telegram clients may expect to be able to set what
appears to them as a "global" caption on media groups, when such a thing
does not actually exist in the API, and is just the result of how
official clients render media groups with only one captioned
`InputMedia`.

This commit changes the schema which auto-generates payload types, as
well as introduces the changes induced to the documentation of
`SendMediaGroup`.

Fix #987.

Links:
[0]: https://core.telegram.org/bots/api#sendmediagroup

Signed-off-by: Lymkwi <lymkwi@vulpinecitrus.info>
2024-01-10 16:47:02 +01:00
..
examples Merge rustfmt.tomls 2022-11-07 16:13:29 +04:00
src Document the behavior of captions for media groups 2024-01-10 16:47:02 +01:00
Cargo.toml format cargo tomls 2023-10-04 19:42:18 +04:00
CHANGELOG.md Update changelogs 2024-01-05 18:28:32 +03:00
LICENSE link licenses 2022-11-07 16:49:58 +04:00
README.md bump msrv 2023-10-04 22:19:46 +04:00
schema.ron Document the behavior of captions for media groups 2024-01-10 16:47:02 +01:00

teloxide-core

The core part of teloxide providing tools for making requests to the Telegram Bot API with ease. This library is fully asynchronous and built using tokio.

teloxide-core = "0.9"

Compiler support: requires rustc 1.68+.