Class: TD::Types::InputSticker
- Defined in:
- lib/tdlib/types/input_sticker.rb
Overview
Describes a sticker that should be added to a sticker set.
Instance Attribute Summary collapse
-
#emojis ⇒ String
Emoji corresponding to the sticker.
-
#mask_position ⇒ TD::Types::MaskPosition?
For masks, position where the mask should be placed; may be null.
-
#png_sticker ⇒ TD::Types::InputFile
PNG image with the sticker; must be up to 512 kB in size and fit in a 512x512 square.
Method Summary
Methods inherited from Base
Instance Attribute Details
#emojis ⇒ String
Emoji corresponding to the sticker.
9 10 11 |
# File 'lib/tdlib/types/input_sticker.rb', line 9 def emojis @emojis end |
#mask_position ⇒ TD::Types::MaskPosition?
For masks, position where the mask should be placed; may be null.
9 10 11 |
# File 'lib/tdlib/types/input_sticker.rb', line 9 def mask_position @mask_position end |
#png_sticker ⇒ TD::Types::InputFile
PNG image with the sticker; must be up to 512 kB in size and fit in a 512x512 square.
9 10 11 |
# File 'lib/tdlib/types/input_sticker.rb', line 9 def png_sticker @png_sticker end |