1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 22:46:55 +01:00
MadelineProto/docs/TD_docs/constructors/sticker.md

30 lines
1018 B
Markdown
Raw Normal View History

---
title: sticker
description: Describes sticker
---
## Constructor: sticker
[Back to constructors index](index.md)
Describes sticker
### Attributes:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
2017-12-21 21:08:25 +01:00
|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|
2017-09-29 15:50:59 +02:00
|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)