mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Change setChatTitle title length
This commit is contained in:
parent
a9d3fae987
commit
bacd84110e
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
|
@ -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],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue