Class: TD::Types::Sticker
- Defined in:
- lib/tdlib/types/sticker.rb
Overview
Describes a sticker.
Instance Attribute Summary collapse
-
#emoji ⇒ String
Emoji corresponding to the sticker.
-
#height ⇒ Integer
Sticker height; as defined by the sender.
-
#is_animated ⇒ Boolean
True, if the sticker is an animated sticker in TGS format.
-
#is_mask ⇒ Boolean
True, if the sticker is a mask.
-
#mask_position ⇒ TD::Types::MaskPosition?
Position where the mask should be placed; may be null.
-
#set_id ⇒ Integer
The identifier of the sticker set to which the sticker belongs; 0 if none.
-
#sticker ⇒ TD::Types::File
File containing the sticker.
-
#thumbnail ⇒ TD::Types::PhotoSize?
Sticker thumbnail in WEBP or JPEG format; may be null.
-
#width ⇒ Integer
Sticker width; as defined by the sender.
Method Summary
Methods inherited from Base
Instance Attribute Details
#emoji ⇒ String
Emoji corresponding to the sticker.
13 14 15 |
# File 'lib/tdlib/types/sticker.rb', line 13 def emoji @emoji end |
#height ⇒ Integer
Sticker height; as defined by the sender.
13 14 15 |
# File 'lib/tdlib/types/sticker.rb', line 13 def height @height end |
#is_animated ⇒ Boolean
True, if the sticker is an animated sticker in TGS format.
13 14 15 |
# File 'lib/tdlib/types/sticker.rb', line 13 def is_animated @is_animated end |
#is_mask ⇒ Boolean
True, if the sticker is a mask.
13 14 15 |
# File 'lib/tdlib/types/sticker.rb', line 13 def is_mask @is_mask end |
#mask_position ⇒ TD::Types::MaskPosition?
Position where the mask should be placed; may be null.
13 14 15 |
# File 'lib/tdlib/types/sticker.rb', line 13 def mask_position @mask_position end |
#set_id ⇒ Integer
The identifier of the sticker set to which the sticker belongs; 0 if none.
13 14 15 |
# File 'lib/tdlib/types/sticker.rb', line 13 def set_id @set_id end |
#sticker ⇒ TD::Types::File
File containing the sticker.
13 14 15 |
# File 'lib/tdlib/types/sticker.rb', line 13 def sticker @sticker end |
#thumbnail ⇒ TD::Types::PhotoSize?
Sticker thumbnail in WEBP or JPEG format; may be null.
13 14 15 |
# File 'lib/tdlib/types/sticker.rb', line 13 def thumbnail @thumbnail end |
#width ⇒ Integer
Sticker width; as defined by the sender.
13 14 15 |
# File 'lib/tdlib/types/sticker.rb', line 13 def width @width end |