diff --git a/crates/teloxide-core/schema.ron b/crates/teloxide-core/schema.ron index a1f2b939..e4206f77 100644 --- a/crates/teloxide-core/schema.ron +++ b/crates/teloxide-core/schema.ron @@ -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", diff --git a/crates/teloxide-core/src/payloads/send_poll.rs b/crates/teloxide-core/src/payloads/send_poll.rs index 080b63d2..7e521263 100644 --- a/crates/teloxide-core/src/payloads/send_poll.rs +++ b/crates/teloxide-core/src/payloads/send_poll.rs @@ -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)]