MadelineProtoDocs/docs/TD_docs/constructors/sticker.md

31 lines
1.1 KiB
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: sticker
description: Describes sticker
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-05 01:19:57 +02:00
# Constructor: sticker
2018-04-01 13:19:25 +02:00
[Back to constructors index](index.md)
Describes sticker
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|set\_id|[int64](../constructors/int64.md) | Yes|Identifier of sticker set to which the sticker belongs or 0 if none|
|width|[int](../types/int.md) | Yes|Sticker width as defined by sender|
|height|[int](../types/int.md) | Yes|Sticker height as defined by sender|
|emoji|[string](../types/string.md) | Yes|Emoji corresponding to the sticker|
|is\_mask|[Bool](../types/Bool.md) | Yes|True, if the sticker is a mask|
|mask\_position|[maskPosition](../constructors/maskPosition.md) | Yes|Position where the mask should be placed, nullable|
|thumb|[photoSize](../constructors/photoSize.md) | Yes|Sticker thumb in webp or jpeg format, nullable|
|sticker|[file](../constructors/file.md) | Yes|File with sticker|
### Type: [Sticker](../types/Sticker.md)