Class: TD::Types::StickerSetInfo
- Defined in:
- lib/tdlib/types/sticker_set_info.rb
Overview
Represents short information about a sticker set.
Instance Attribute Summary collapse
-
#covers ⇒ Array<TD::Types::Sticker>
Contains up to the first 5 stickers from the set, depending on the context.
-
#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 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 ⇒ String
Name of the sticker set.
-
#size ⇒ Integer
Total number of stickers in the set.
-
#thumbnail ⇒ TD::Types::PhotoSize?
Sticker set thumbnail in WEBP format with width and height 100; may be null.
-
#title ⇒ String
Title of the sticker set.
Method Summary
Methods inherited from Base
Instance Attribute Details
#covers ⇒ Array<TD::Types::Sticker>
Contains up to the first 5 stickers from the set, depending on the context. If the client needs more stickers the full set should be requested.
20 21 22 |
# File 'lib/tdlib/types/sticker_set_info.rb', line 20 def covers @covers end |
#id ⇒ Integer
Identifier of the sticker set.
20 21 22 |
# File 'lib/tdlib/types/sticker_set_info.rb', line 20 def id @id end |
#is_animated ⇒ Boolean
True, is the stickers in the set are animated.
20 21 22 |
# File 'lib/tdlib/types/sticker_set_info.rb', line 20 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.
20 21 22 |
# File 'lib/tdlib/types/sticker_set_info.rb', line 20 def is_archived @is_archived end |
#is_installed ⇒ Boolean
True, if the sticker set has been installed by current user.
20 21 22 |
# File 'lib/tdlib/types/sticker_set_info.rb', line 20 def is_installed @is_installed end |
#is_masks ⇒ Boolean
True, if the stickers in the set are masks.
20 21 22 |
# File 'lib/tdlib/types/sticker_set_info.rb', line 20 def is_masks @is_masks end |
#is_official ⇒ Boolean
True, if the sticker set is official.
20 21 22 |
# File 'lib/tdlib/types/sticker_set_info.rb', line 20 def is_official @is_official end |
#is_viewed ⇒ Boolean
True for already viewed trending sticker sets.
20 21 22 |
# File 'lib/tdlib/types/sticker_set_info.rb', line 20 def is_viewed @is_viewed end |
#name ⇒ String
Name of the sticker set.
20 21 22 |
# File 'lib/tdlib/types/sticker_set_info.rb', line 20 def name @name end |
#size ⇒ Integer
Total number of stickers in the set.
20 21 22 |
# File 'lib/tdlib/types/sticker_set_info.rb', line 20 def size @size end |
#thumbnail ⇒ TD::Types::PhotoSize?
Sticker set thumbnail in WEBP format with width and height 100; may be null.
20 21 22 |
# File 'lib/tdlib/types/sticker_set_info.rb', line 20 def thumbnail @thumbnail end |
#title ⇒ String
Title of the sticker set.
20 21 22 |
# File 'lib/tdlib/types/sticker_set_info.rb', line 20 def title @title end |