Sha256: 9ca383fde61e1487a0ce2f47716134a6ae9a43028ad2d041ca5df924505b110c
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
module TD::Types # Describes a sticker. # # @attr set_id [Integer] The identifier of the sticker set to which the sticker belongs; 0 if none. # @attr width [Integer] Sticker width; as defined by the sender. # @attr height [Integer] Sticker height; as defined by the sender. # @attr emoji [String] Emoji corresponding to the sticker. # @attr is_mask [Boolean] True, if the sticker is a mask. # @attr mask_position [TD::Types::MaskPosition, nil] Position where the mask should be placed; may be null. # @attr thumbnail [TD::Types::PhotoSize, nil] Sticker thumbnail in WEBP or JPEG format; may be null. # @attr sticker [TD::Types::File] File containing the sticker. class Sticker < Base attribute :set_id, TD::Types::Integer attribute :width, TD::Types::Integer attribute :height, TD::Types::Integer attribute :emoji, TD::Types::String attribute :is_mask, TD::Types::Bool attribute :mask_position, TD::Types::MaskPosition.optional.default(nil) attribute :thumbnail, TD::Types::PhotoSize.optional.default(nil) attribute :sticker, TD::Types::File end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-ruby-2.0.0 | lib/tdlib/types/sticker.rb |