mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Merge pull request #973 from Desiders/fix-set-chat-title-title-length
Change setChatTitle title length
This commit is contained in:
commit
cbee55056b
2 changed files with 2 additions and 2 deletions
|
@ -2359,7 +2359,7 @@ Schema(
|
|||
Param(
|
||||
name: "title",
|
||||
ty: String,
|
||||
descr: Doc(md: "New chat title, 1-255 characters")
|
||||
descr: Doc(md: "New chat title, 1-128 characters")
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
@ -11,7 +11,7 @@ impl_payload! {
|
|||
required {
|
||||
/// Unique identifier for the target chat or username of the target channel (in the format `@channelusername`)
|
||||
pub chat_id: Recipient [into],
|
||||
/// New chat title, 1-255 characters
|
||||
/// New chat title, 1-128 characters
|
||||
pub title: String [into],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue