MadelineProtoDocs/docs/TD_docs/methods/createNewStickerSet.md

28 lines
1.1 KiB
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: createNewStickerSet
description: Bots only. Creates new sticker set. Returns created sticker set
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
2018-04-04 23:19:57 +00:00
# Method: createNewStickerSet
2018-04-01 13:19:25 +02:00
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Bots only. Creates new sticker set. Returns created sticker set
### Parameters:
2018-08-29 11:18:25 +02:00
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|user\_id|[int](../types/int.md) | Sticker set owner | Yes|
|title|[string](../types/string.md) | Sticker set title, 1-64 characters | Yes|
|name|[string](../types/string.md) | Sticker set name. Can contain only english letters, digits and underscores. Should end on *"_by_<bot username>"*. *<bot_username>* is case insensitive, 1-64 characters | Yes|
|is\_masks|[Bool](../types/Bool.md) | True, is stickers are masks | Yes|
|stickers|Array of [inputSticker](../constructors/inputSticker.md) | List of stickers to add to the set | Yes|
2018-04-01 13:19:25 +02:00
### Return type: [StickerSet](../types/StickerSet.md)