Use this method to get a sticker set
Use this method to get a sticker set. On success, a StickerSet object is returned.
POST
/getStickerSet
curl \
-X POST https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/getStickerSet \
-H "Content-Type: application/json" \
-d '{"name":"string"}'
Request example
{
"name": "string"
}
Request examples
{
"name": "string"
}
Response examples (default)
{
"ok": false,
"error_code": 42,
"description": "string",
"parameters": {
"migrate_to_chat_id": 42,
"retry_after": 42
}
}
Response examples (default)
{
"ok": false,
"error_code": 42,
"description": "string",
"parameters": {
"migrate_to_chat_id": 42,
"retry_after": 42
}
}
Response examples (200)
{
"ok": true,
"result": {
"name": "string",
"title": "string",
"is_animated": true,
"contains_masks": true,
"stickers": [
{
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"is_animated": true,
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
},
"emoji": "string",
"set_name": "string",
"mask_position": {
"point": "forehead",
"x_shift": 42.0,
"y_shift": 42.0,
"scale": 42.0
},
"file_size": 42
}
],
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
}
}
}
Response examples (200)
{
"ok": true,
"result": {
"name": "string",
"title": "string",
"is_animated": true,
"contains_masks": true,
"stickers": [
{
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"is_animated": true,
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
},
"emoji": "string",
"set_name": "string",
"mask_position": {
"point": "forehead",
"x_shift": 42.0,
"y_shift": 42.0,
"scale": 42.0
},
"file_size": 42
}
],
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
}
}
}