pub fn request_poll<T>(mut self, button_type: T) -> Self
    where
        T: Into<KeyboardButtonPollType>,
    {
        self.kind = Some(KeyboardButtonKind::RequestPoll(button_type.into()));
        self
    }
/// The user will be asked to create a poll and send it to the bot when the button is pressed
///
/// Available in private chats only
///
/// If quiz is passed, the user will be allowed to create only polls in the quiz mode.
/// If regular is passed, only regular polls will be allowed.
/// Otherwise, the user will be allowed to create a poll of any type.
The user will be asked to create a poll and send it to the bot when the button is pressed
Available in private chats only

If quiz is passed, the user will be allowed to create only polls in the quiz mode.
If regular is passed, only regular polls will be allowed.
Otherwise, the user will be allowed to create a poll of any type.
The user will be asked to create a poll and send it to the bot when the button is pressed Available in private chats only If quiz is passed the user will be allowed to create only polls in the quiz mode . If regular is passed only regular polls will be allowed . Otherwise the user will be allowed to create a poll of any type .
pub fn request_poll<T>(mut self, button_type: T) -> Self
    where
        T: Into<KeyboardButtonPollType>,
    {
        self.kind = Some(KeyboardButtonKind::RequestPoll(button_type.into()));
        self
    }
pub fn request_poll < T > ( mut self , button_type : T ) -> Self where T : Into < KeyboardButtonPollType > , { self . kind = Some ( KeyboardButtonKind :: RequestPoll ( button_type . into ( ) ) ) ; self }
The user will be asked to create a poll and send it to the bot when the button is pressed
Available in private chats only
The user will be asked to create a poll and send it to the bot when the button is pressed Available in private chats only
mut self
button_type
T
mut self
button_type
T