Class: TD::Types::ChatFolderIcon

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

Overview

Represents an icon for a chat folder.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#nameTD::Types::String

The chosen icon name for short folder representation; one of “All”, “Unread”, “Unmuted”, “Bots”, “Channels”, “Groups”, “Private”, “Custom”, “Setup”, “Cat”, “Crown”, “Favorite”, “Flower”, “Game”, “Home”, “Love”, “Mask”, “Party”, “Sport”, “Study”, “Trade”, “Travel”, “Work”, “Airplane”, “Book”, “Light”, “Like”, “Money”, “Note”, “Palette”.

Returns:

  • (TD::Types::String)

    the current value of name



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

def name
  @name
end