Class: TD::Types::InputSticker::Static

Inherits:
TD::Types::InputSticker show all
Defined in:
lib/tdlib/types/input_sticker/static.rb

Overview

A static sticker in PNG format, which will be converted to WEBP server-side.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#emojisTD::Types::String

Emojis corresponding to the sticker.

Returns:

  • (TD::Types::String)

    the current value of emojis



9
10
11
# File 'lib/tdlib/types/input_sticker/static.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/static.rb', line 9

def mask_position
  @mask_position
end

#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/static.rb', line 9

def sticker
  @sticker
end