Class: TD::Types::InputSticker::Static
- Inherits:
-
TD::Types::InputSticker
- Object
- Dry::Struct
- Base
- TD::Types::InputSticker
- TD::Types::InputSticker::Static
- Defined in:
- lib/tdlib/types/input_sticker/static.rb
Overview
A static sticker in PNG format, which will be converted to WEBP server-side.
Instance Attribute Summary collapse
-
#emojis ⇒ TD::Types::String
Emojis corresponding to the sticker.
-
#mask_position ⇒ TD::Types::MaskPosition?
For masks, position where the mask should be placed; may be null.
-
#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 ⇒ TD::Types::String
Emojis corresponding to the sticker.
9 10 11 |
# File 'lib/tdlib/types/input_sticker/static.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/static.rb', line 9 def mask_position @mask_position end |
#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/static.rb', line 9 def sticker @sticker end |