mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Fix #1058
This commit is contained in:
parent
c8f7bd745c
commit
8f9b6d13ca
2 changed files with 2 additions and 2 deletions
|
@ -1712,7 +1712,7 @@ Schema(
|
||||||
names: ("sendPoll", "SendPoll", "send_poll"),
|
names: ("sendPoll", "SendPoll", "send_poll"),
|
||||||
return_ty: RawTy("Message"),
|
return_ty: RawTy("Message"),
|
||||||
doc: Doc(
|
doc: Doc(
|
||||||
md: "Use this method to send phone contacts. On success, the sent [Message] is returned.",
|
md: "Use this method to send a native poll. On success, the sent [Message] is returned.",
|
||||||
md_links: {"Message": "https://core.telegram.org/bots/api#message"},
|
md_links: {"Message": "https://core.telegram.org/bots/api#message"},
|
||||||
),
|
),
|
||||||
tg_doc: "https://core.telegram.org/bots/api#sendpoll",
|
tg_doc: "https://core.telegram.org/bots/api#sendpoll",
|
||||||
|
|
|
@ -8,7 +8,7 @@ use crate::types::{
|
||||||
};
|
};
|
||||||
|
|
||||||
impl_payload! {
|
impl_payload! {
|
||||||
/// Use this method to send phone contacts. On success, the sent [`Message`] is returned.
|
/// Use this method to send a native poll. On success, the sent [`Message`] is returned.
|
||||||
///
|
///
|
||||||
/// [`Message`]: crate::types::Message
|
/// [`Message`]: crate::types::Message
|
||||||
#[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
|
#[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
|
||||||
|
|
Loading…
Reference in a new issue