Change setChatTitle title length

This commit is contained in:
Desiders 2023-11-25 19:21:21 +03:00
parent a9d3fae987
commit bacd84110e
2 changed files with 2 additions and 2 deletions

View file

@ -2359,7 +2359,7 @@ Schema(
Param( Param(
name: "title", name: "title",
ty: String, ty: String,
descr: Doc(md: "New chat title, 1-255 characters") descr: Doc(md: "New chat title, 1-128 characters")
), ),
], ],
), ),

View file

@ -11,7 +11,7 @@ impl_payload! {
required { required {
/// Unique identifier for the target chat or username of the target channel (in the format `@channelusername`) /// Unique identifier for the target chat or username of the target channel (in the format `@channelusername`)
pub chat_id: Recipient [into], pub chat_id: Recipient [into],
/// New chat title, 1-255 characters /// New chat title, 1-128 characters
pub title: String [into], pub title: String [into],
} }
} }