This commit is contained in:
Сырцев Вадим Игоревич 2024-07-18 18:27:23 +03:00 committed by Andrey Brusnik
parent c8f7bd745c
commit 8f9b6d13ca
No known key found for this signature in database
GPG key ID: D33232F28CFF442C
2 changed files with 2 additions and 2 deletions

View file

@ -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",

View file

@ -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)]