mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-09 11:43:57 +01:00
Update src/requests/payload.rs
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
This commit is contained in:
parent
f1e5f3f1b3
commit
edc12d0008
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
/// request to Telegram.
|
/// request to Telegram.
|
||||||
#[cfg_attr(all(docsrs, feature = "nightly"), doc(spotlight))]
|
#[cfg_attr(all(docsrs, feature = "nightly"), doc(spotlight))]
|
||||||
pub trait Payload {
|
pub trait Payload {
|
||||||
/// A return type of a Telegram method.
|
/// The return type of a Telegram method.
|
||||||
///
|
///
|
||||||
/// Note: it should not include `Result` wrappers (e.g. it should be simply
|
/// Note: it should not include `Result` wrappers (e.g. it should be simply
|
||||||
/// [`Message`], [`True`] or something else).
|
/// [`Message`], [`True`] or something else).
|
||||||
|
|
Loading…
Reference in a new issue