mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 06:25:10 +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"),
|
||||
return_ty: RawTy("Message"),
|
||||
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"},
|
||||
),
|
||||
tg_doc: "https://core.telegram.org/bots/api#sendpoll",
|
||||
|
|
|
@ -8,7 +8,7 @@ use crate::types::{
|
|||
};
|
||||
|
||||
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
|
||||
#[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
|
||||
|
|
Loading…
Reference in a new issue