Class: TD::Types::Sticker
- Defined in:
- lib/tdlib/types/sticker.rb
Overview
Describes a sticker.
Instance Attribute Summary collapse
-
#emoji ⇒ TD::Types::String
Emoji corresponding to the sticker.
-
#format ⇒ TD::Types::StickerFormat
Sticker format.
-
#full_type ⇒ TD::Types::StickerFullType
Sticker’s full type.
-
#height ⇒ Integer
Sticker height; as defined by the sender.
-
#id ⇒ Integer
Unique sticker identifier within the set; 0 if none.
-
#outline ⇒ Array<TD::Types::ClosedVectorPath>?
Sticker’s outline represented as a list of closed vector paths; may be empty.
-
#set_id ⇒ Integer
Identifier of the sticker set to which the sticker belongs; 0 if none.
-
#sticker ⇒ TD::Types::File
File containing the sticker.
-
#thumbnail ⇒ TD::Types::Thumbnail?
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 ⇒ TD::Types::String
Emoji corresponding to the sticker.
16 17 18 |
# File 'lib/tdlib/types/sticker.rb', line 16 def emoji @emoji end |
#format ⇒ TD::Types::StickerFormat
Sticker format.
16 17 18 |
# File 'lib/tdlib/types/sticker.rb', line 16 def format @format end |
#full_type ⇒ TD::Types::StickerFullType
Sticker’s full type.
16 17 18 |
# File 'lib/tdlib/types/sticker.rb', line 16 def full_type @full_type end |
#height ⇒ Integer
Sticker height; as defined by the sender.
16 17 18 |
# File 'lib/tdlib/types/sticker.rb', line 16 def height @height end |
#id ⇒ Integer
Unique sticker identifier within the set; 0 if none.
16 17 18 |
# File 'lib/tdlib/types/sticker.rb', line 16 def id @id end |
#outline ⇒ Array<TD::Types::ClosedVectorPath>?
Sticker’s outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner.
16 17 18 |
# File 'lib/tdlib/types/sticker.rb', line 16 def outline @outline end |
#set_id ⇒ Integer
Identifier of the sticker set to which the sticker belongs; 0 if none.
16 17 18 |
# File 'lib/tdlib/types/sticker.rb', line 16 def set_id @set_id end |
#sticker ⇒ TD::Types::File
File containing the sticker.
16 17 18 |
# File 'lib/tdlib/types/sticker.rb', line 16 def sticker @sticker end |
#thumbnail ⇒ TD::Types::Thumbnail?
Sticker thumbnail in WEBP or JPEG format; may be null.
16 17 18 |
# File 'lib/tdlib/types/sticker.rb', line 16 def thumbnail @thumbnail end |
#width ⇒ Integer
Sticker width; as defined by the sender.
16 17 18 |
# File 'lib/tdlib/types/sticker.rb', line 16 def width @width end |