mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 03:36:55 +01:00
25 lines
658 B
Markdown
25 lines
658 B
Markdown
|
---
|
||
|
title: addStickerToSet
|
||
|
description: Bots only. Adds new sticker to a set. Returns the sticker set
|
||
|
---
|
||
|
## Method: addStickerToSet
|
||
|
[Back to methods index](index.md)
|
||
|
|
||
|
|
||
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
||
|
|
||
|
|
||
|
Bots only. Adds new sticker to a set. Returns the sticker set
|
||
|
|
||
|
### Params:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|user\_id|[int](../types/int.md) | Yes|Sticker set owner|
|
||
|
|name|[string](../types/string.md) | Yes|Sticker set name|
|
||
|
|sticker|[inputSticker](../types/inputSticker.md) | Yes|Sticker to add to the set|
|
||
|
|
||
|
|
||
|
### Return type: [StickerSet](../types/StickerSet.md)
|
||
|
|