diff --git a/crates/teloxide-core/schema.ron b/crates/teloxide-core/schema.ron index 1fe6411b..375698bf 100644 --- a/crates/teloxide-core/schema.ron +++ b/crates/teloxide-core/schema.ron @@ -3639,7 +3639,7 @@ Schema( Param( name: "needs_repainting", 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") ) ], ), diff --git a/crates/teloxide-core/src/payloads/create_new_sticker_set.rs b/crates/teloxide-core/src/payloads/create_new_sticker_set.rs index 1e81511e..9ca7be3d 100644 --- a/crates/teloxide-core/src/payloads/create_new_sticker_set.rs +++ b/crates/teloxide-core/src/payloads/create_new_sticker_set.rs @@ -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. #[serde(flatten)] 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, } } diff --git a/crates/teloxide-core/src/payloads/get_my_description.rs b/crates/teloxide-core/src/payloads/get_my_description.rs index 8252b4cd..1c34b617 100644 --- a/crates/teloxide-core/src/payloads/get_my_description.rs +++ b/crates/teloxide-core/src/payloads/get_my_description.rs @@ -11,7 +11,7 @@ impl_payload! { #[derive(Debug, PartialEq, Eq, Hash, Default, Clone, Serialize)] pub GetMyDescription (GetMyDescriptionSetters) => BotDescription { 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], } } diff --git a/crates/teloxide-core/src/payloads/get_my_short_description.rs b/crates/teloxide-core/src/payloads/get_my_short_description.rs index b4c8c2b8..424b0a4d 100644 --- a/crates/teloxide-core/src/payloads/get_my_short_description.rs +++ b/crates/teloxide-core/src/payloads/get_my_short_description.rs @@ -11,7 +11,7 @@ impl_payload! { #[derive(Debug, PartialEq, Eq, Hash, Default, Clone, Serialize)] pub GetMyShortDescription (GetMyShortDescriptionSetters) => BotShortDescription { 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], } }