mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Fix a bit more typos
This commit is contained in:
parent
89e22a6b6d
commit
eb1f098302
4 changed files with 4 additions and 4 deletions
|
@ -3639,7 +3639,7 @@ Schema(
|
||||||
Param(
|
Param(
|
||||||
name: "needs_repainting",
|
name: "needs_repainting",
|
||||||
ty: Option(bool),
|
ty: Option(bool),
|
||||||
descr: Doc(md: "Pass True if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only")
|
descr: Doc(md: "Pass _True_ if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only")
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
|
@ -24,7 +24,7 @@ impl_payload! {
|
||||||
/// Type of stickers in the set, pass “regular”, “mask”, or “custom_emoji”. By default, a regular sticker set is created.
|
/// Type of stickers in the set, pass “regular”, “mask”, or “custom_emoji”. By default, a regular sticker set is created.
|
||||||
#[serde(flatten)]
|
#[serde(flatten)]
|
||||||
pub sticker_type: StickerType,
|
pub sticker_type: StickerType,
|
||||||
/// Pass True if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only
|
/// Pass _True_ if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only
|
||||||
pub needs_repainting: bool,
|
pub needs_repainting: bool,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ impl_payload! {
|
||||||
#[derive(Debug, PartialEq, Eq, Hash, Default, Clone, Serialize)]
|
#[derive(Debug, PartialEq, Eq, Hash, Default, Clone, Serialize)]
|
||||||
pub GetMyDescription (GetMyDescriptionSetters) => BotDescription {
|
pub GetMyDescription (GetMyDescriptionSetters) => BotDescription {
|
||||||
optional {
|
optional {
|
||||||
/// A two-letter ISO 639-1 language code or an empty string
|
/// A two-letter ISO 639-1 language code
|
||||||
pub language_code: String [into],
|
pub language_code: String [into],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ impl_payload! {
|
||||||
#[derive(Debug, PartialEq, Eq, Hash, Default, Clone, Serialize)]
|
#[derive(Debug, PartialEq, Eq, Hash, Default, Clone, Serialize)]
|
||||||
pub GetMyShortDescription (GetMyShortDescriptionSetters) => BotShortDescription {
|
pub GetMyShortDescription (GetMyShortDescriptionSetters) => BotShortDescription {
|
||||||
optional {
|
optional {
|
||||||
/// A two-letter ISO 639-1 language code or an empty string
|
/// A two-letter ISO 639-1 language code
|
||||||
pub language_code: String [into],
|
pub language_code: String [into],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue