telegram api method · layer 229 · #c8a0ec74
messages.getStickerSet
Get info about a stickerset
definition
messages.getStickerSet#c8a0ec74 stickerset:InputStickerSet hash:int = messages.StickerSet;
parameters
| name | type | description |
|---|---|---|
stickerset | InputStickerSet | Stickerset |
hash | int | Hash used for caching, for more info click here |
returns
errors (5)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 400 | EMOTICON_STICKERPACK_MISSING | inputStickerSetDice.emoji cannot be empty. |
| 400 | STICKERSET_INVALID | The provided sticker set is invalid. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
| 406 | STICKERSET_INVALID | The provided sticker set is invalid. |
history
present in layers 46–229 · constructor id changed 1×
| id | layers |
|---|---|
| #2619a90e | 46–134 |
| #c8a0ec74 | 135–229 |