Class: TD::Types::StickerSet
- Defined in:
- lib/tdlib/types/sticker_set.rb
Overview
Represents a sticker set.
Instance Attribute Summary collapse
-
#emojis ⇒ Array<TD::Types::Emojis>
A list of emoji corresponding to the stickers in the same order.
-
#id ⇒ Integer
Identifier of the sticker set.
-
#is_animated ⇒ Boolean
True, is the stickers in the set are animated.
-
#is_archived ⇒ Boolean
True, if the sticker set has been archived.
-
#is_installed ⇒ Boolean
True, if the sticker set has been installed by the current user.
-
#is_masks ⇒ Boolean
True, if the stickers in the set are masks.
-
#is_official ⇒ Boolean
True, if the sticker set is official.
-
#is_viewed ⇒ Boolean
True for already viewed trending sticker sets.
-
#name ⇒ TD::Types::String
Name of the sticker set.
-
#stickers ⇒ Array<TD::Types::Sticker>
List of stickers in this set.
-
#thumbnail ⇒ TD::Types::Thumbnail?
Sticker set thumbnail in WEBP or TGS format with width and height 100; may be null.
-
#thumbnail_outline ⇒ Array<TD::Types::ClosedVectorPath>?
Sticker set thumbnail’s outline represented as a list of closed vector paths; may be empty.
-
#title ⇒ TD::Types::String
Title of the sticker set.
Method Summary
Methods inherited from Base
Instance Attribute Details
#emojis ⇒ Array<TD::Types::Emojis>
A list of emoji corresponding to the stickers in the same order. The list is only for informational purposes, because a sticker is always sent with a fixed emoji from the corresponding Sticker object.
24 25 26 |
# File 'lib/tdlib/types/sticker_set.rb', line 24 def emojis @emojis end |
#id ⇒ Integer
Identifier of the sticker set.
24 25 26 |
# File 'lib/tdlib/types/sticker_set.rb', line 24 def id @id end |
#is_animated ⇒ Boolean
True, is the stickers in the set are animated.
24 25 26 |
# File 'lib/tdlib/types/sticker_set.rb', line 24 def is_animated @is_animated end |
#is_archived ⇒ Boolean
True, if the sticker set has been archived. A sticker set can’t be installed and archived simultaneously.
24 25 26 |
# File 'lib/tdlib/types/sticker_set.rb', line 24 def is_archived @is_archived end |
#is_installed ⇒ Boolean
True, if the sticker set has been installed by the current user.
24 25 26 |
# File 'lib/tdlib/types/sticker_set.rb', line 24 def is_installed @is_installed end |
#is_masks ⇒ Boolean
True, if the stickers in the set are masks.
24 25 26 |
# File 'lib/tdlib/types/sticker_set.rb', line 24 def is_masks @is_masks end |
#is_official ⇒ Boolean
True, if the sticker set is official.
24 25 26 |
# File 'lib/tdlib/types/sticker_set.rb', line 24 def is_official @is_official end |
#is_viewed ⇒ Boolean
True for already viewed trending sticker sets.
24 25 26 |
# File 'lib/tdlib/types/sticker_set.rb', line 24 def is_viewed @is_viewed end |
#name ⇒ TD::Types::String
Name of the sticker set.
24 25 26 |
# File 'lib/tdlib/types/sticker_set.rb', line 24 def name @name end |
#stickers ⇒ Array<TD::Types::Sticker>
List of stickers in this set.
24 25 26 |
# File 'lib/tdlib/types/sticker_set.rb', line 24 def stickers @stickers end |
#thumbnail ⇒ TD::Types::Thumbnail?
Sticker set thumbnail in WEBP or TGS format with width and height 100; may be null. The file can be downloaded only before the thumbnail is changed.
24 25 26 |
# File 'lib/tdlib/types/sticker_set.rb', line 24 def thumbnail @thumbnail end |
#thumbnail_outline ⇒ Array<TD::Types::ClosedVectorPath>?
Sticker set thumbnail’s outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner.
24 25 26 |
# File 'lib/tdlib/types/sticker_set.rb', line 24 def thumbnail_outline @thumbnail_outline end |
#title ⇒ TD::Types::String
Title of the sticker set.
24 25 26 |
# File 'lib/tdlib/types/sticker_set.rb', line 24 def title @title end |