Class: TD::Types::InputSticker

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/input_sticker.rb

Overview

Describes a sticker that should be added to a sticker set.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#emojisString

Emoji corresponding to the sticker.

Returns:

  • (String)

    the current value of emojis



9
10
11
# File 'lib/tdlib/types/input_sticker.rb', line 9

def emojis
  @emojis
end

#mask_positionTD::Types::MaskPosition?

For masks, position where the mask should be placed; may be null.

Returns:



9
10
11
# File 'lib/tdlib/types/input_sticker.rb', line 9

def mask_position
  @mask_position
end

#png_stickerTD::Types::InputFile

PNG image with the sticker; must be up to 512 kB in size and fit in a 512x512 square.

Returns:



9
10
11
# File 'lib/tdlib/types/input_sticker.rb', line 9

def png_sticker
  @png_sticker
end