mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-09 03:43:22 +01:00
fix docs
This commit is contained in:
parent
0e43c32b82
commit
311a5b18fe
1 changed files with 3 additions and 3 deletions
|
@ -6,12 +6,12 @@ use serde::{Deserialize, Serialize};
|
|||
#[serde(rename_all = "snake_case")]
|
||||
#[serde(tag = "type")]
|
||||
pub enum KeyboardButtonPollType {
|
||||
/// If [`Quiz`] is passed, the user will be allowed to create only polls in
|
||||
/// If `Quiz` is passed, the user will be allowed to create only polls in
|
||||
/// the quiz mode.
|
||||
Quiz,
|
||||
/// If [`Regular`] is passed, only regular polls will be allowed.
|
||||
/// If `Regular` is passed, only regular polls will be allowed.
|
||||
Regular,
|
||||
/// If [`Any`] is passed, the user will be allowed to create a poll of any
|
||||
/// If `Any` is passed, the user will be allowed to create a poll of any
|
||||
/// type.
|
||||
#[serde(rename = "")]
|
||||
Any,
|
||||
|
|
Loading…
Reference in a new issue