Sha256: 66372e56f315d3e8c189a8d44fd4dd17553456bfba4afe052c95541d7805d022
Contents?: true
Size: 1.71 KB
Versions: 2
Compression:
Stored size: 1.71 KB
Contents
module TD::Types # Represents short information about a sticker set. # # @attr id [Integer] Identifier of the sticker set. # @attr title [String] Title of the sticker set. # @attr name [String] Name of the sticker set. # @attr thumbnail [TD::Types::PhotoSize, nil] Sticker set thumbnail in WEBP format with width and height 100; may be # null. # @attr is_installed [Boolean] True, if the sticker set has been installed by current user. # @attr is_archived [Boolean] True, if the sticker set has been archived. # A sticker set can't be installed and archived simultaneously. # @attr is_official [Boolean] True, if the sticker set is official. # @attr is_animated [Boolean] True, is the stickers in the set are animated. # @attr is_masks [Boolean] True, if the stickers in the set are masks. # @attr is_viewed [Boolean] True for already viewed trending sticker sets. # @attr size [Integer] Total number of stickers in the set. # @attr 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. class StickerSetInfo < Base attribute :id, TD::Types::Integer attribute :title, TD::Types::String attribute :name, TD::Types::String attribute :thumbnail, TD::Types::PhotoSize.optional.default(nil) attribute :is_installed, TD::Types::Bool attribute :is_archived, TD::Types::Bool attribute :is_official, TD::Types::Bool attribute :is_animated, TD::Types::Bool attribute :is_masks, TD::Types::Bool attribute :is_viewed, TD::Types::Bool attribute :size, TD::Types::Integer attribute :covers, TD::Types::Array.of(TD::Types::Sticker) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-ruby-2.2.0 | lib/tdlib/types/sticker_set_info.rb |
tdlib-ruby-2.1.0 | lib/tdlib/types/sticker_set_info.rb |