mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 12:47:56 +01:00
27 lines
1.0 KiB
Markdown
27 lines
1.0 KiB
Markdown
---
|
|
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:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|user\_id|[CLICK ME int](../types/int.md) | Yes|Sticker set owner|
|
|
|title|[CLICK ME string](../types/string.md) | Yes|Sticker set title, 1-64 characters|
|
|
|name|[CLICK ME 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|[CLICK ME Bool](../types/Bool.md) | Yes|True, is stickers are masks|
|
|
|stickers|Array of [CLICK ME inputSticker](../constructors/inputSticker.md) | Yes|List of stickers to add to the set|
|
|
|
|
|
|
### Return type: [StickerSet](../types/StickerSet.md)
|
|
|