Sha256: 0814d75833044f9f5cd377c3a3434376dea156987fe558e2a54748bc0e7e8614

Contents?: true

Size: 614 Bytes

Versions: 3

Compression:

Stored size: 614 Bytes

Contents

module TD::Types
  # Describes a sticker that should be added to a sticker set.
  #
  # @attr png_sticker [TD::Types::InputFile] PNG image with the sticker; must be up to 512 kB in size and fit in a
  #   512x512 square.
  # @attr emojis [String] Emoji corresponding to the sticker.
  # @attr mask_position [TD::Types::MaskPosition, nil] For masks, position where the mask should be placed; may be
  #   null.
  class InputSticker < Base
    attribute :png_sticker, TD::Types::InputFile
    attribute :emojis, TD::Types::String
    attribute :mask_position, TD::Types::MaskPosition.optional.default(nil)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/input_sticker.rb
tdlib-ruby-2.1.0 lib/tdlib/types/input_sticker.rb
tdlib-ruby-2.0.0 lib/tdlib/types/input_sticker.rb