MadelineProto/docs/TD_docs/methods/createNewStickerSet.md

27 lines
1000 B
Markdown
Raw Normal View History

2017-08-25 15:05:53 +02:00
---
title: createNewStickerSet
description: Bots only. Creates new sticker set. Returns created sticker set
---
## Method: createNewStickerSet
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Bots only. Creates new sticker set. Returns created sticker set
### Parameters:
2017-08-25 15:05:53 +02:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|user\_id|[int](../types/int.md) | Yes|Sticker set owner|
|title|[string](../types/string.md) | Yes|Sticker set title, 1-64 characters|
|name|[string](../types/string.md) | Yes|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|
|is\_masks|[Bool](../types/Bool.md) | Yes|True, is stickers are masks|
2017-09-29 15:50:59 +02:00
|stickers|Array of [inputSticker](../constructors/inputSticker.md) | Yes|List of stickers to add to the set|
2017-08-25 15:05:53 +02:00
### Return type: [StickerSet](../types/StickerSet.md)