mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
add InvalidStickersSet
This commit is contained in:
parent
333ff8aa6b
commit
c5b37adf5d
1 changed files with 2 additions and 10 deletions
|
@ -171,17 +171,9 @@ enum ApiErrorKind {
|
|||
#[serde(rename = "Bad Request: Photo should be uploaded as an InputFile")]
|
||||
PhotoAsInputFileRequired,
|
||||
|
||||
/// Occurs when bot tries to add sticker to stickerset by invalid name
|
||||
#[serde(rename = "Bad Request: STICKERSET_INVALID")]
|
||||
InvalidStickersSet, // TODO: docs
|
||||
|
||||
#[serde(rename = "Bad Request: there is no sticker in the request")]
|
||||
NoStickerInRequest, // TODO: docs
|
||||
|
||||
#[serde(rename = "Bad Request: Admin permissions is required!")]
|
||||
ChatAdminRequired, // TODO: docs
|
||||
|
||||
#[serde(rename = "Bad Request: need administrator rights in the channel chat")]
|
||||
NeedAdministratorRightsInTheChannel, // TODO: docs
|
||||
InvalidStickersSet,
|
||||
|
||||
/// Occurs when bot tries to pin a message without rights to pin in this chat
|
||||
#[serde(rename = "Bad Request: not enough rights to pin a message")]
|
||||
|
|
Loading…
Add table
Reference in a new issue