Class: TD::Types::InputMessageContent::Sticker

Inherits:
TD::Types::InputMessageContent show all
Defined in:
lib/tdlib/types/input_message_content/sticker.rb

Overview

A sticker message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#emojiTD::Types::String

Emoji used to choose the sticker.

Returns:

  • (TD::Types::String)

    the current value of emoji



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

def emoji
  @emoji
end

#heightInteger

Sticker height.

Returns:

  • (Integer)

    the current value of height



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

def height
  @height
end

#stickerTD::Types::InputFile

Sticker to be sent.

Returns:



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

def sticker
  @sticker
end

#thumbnailTD::Types::InputThumbnail?

Sticker thumbnail, if available.

Returns:



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

def thumbnail
  @thumbnail
end

#widthInteger

Sticker width.

Returns:

  • (Integer)

    the current value of width



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

def width
  @width
end