Class: TD::Types::EmojiCategory

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

Overview

Describes an emoji category.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#iconTD::Types::Sticker

Custom emoji sticker, which represents icon of the category.

Returns:



8
9
10
# File 'lib/tdlib/types/emoji_category.rb', line 8

def icon
  @icon
end

#is_greetingBoolean

True, if the category must be shown first when choosing a sticker for the start page.

Returns:

  • (Boolean)

    the current value of is_greeting



8
9
10
# File 'lib/tdlib/types/emoji_category.rb', line 8

def is_greeting
  @is_greeting
end

#nameTD::Types::String

Name of the category.

Returns:

  • (TD::Types::String)

    the current value of name



8
9
10
# File 'lib/tdlib/types/emoji_category.rb', line 8

def name
  @name
end

#sourceTD::Types::EmojiCategorySource

Source of stickers for the emoji category.

Returns:



8
9
10
# File 'lib/tdlib/types/emoji_category.rb', line 8

def source
  @source
end