mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 06:36:55 +01:00
23 lines
898 B
Markdown
23 lines
898 B
Markdown
---
|
|
title: addFavoriteSticker
|
|
description: Adds new sticker to the list of favorite stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list
|
|
---
|
|
## Method: addFavoriteSticker
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Adds new sticker to the list of favorite stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|sticker|[CLICK ME InputFile](../types/InputFile.md) | Yes|Sticker file to add|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|