Class: TD::Types::ChatFolderInfo
- Defined in:
- lib/tdlib/types/chat_folder_info.rb
Overview
Contains basic information about a chat folder.
Instance Attribute Summary collapse
-
#color_id ⇒ Integer
The identifier of the chosen color for the chat folder icon; from -1 to 6.
-
#has_my_invite_links ⇒ Boolean
True, if the chat folder has invite links created by the current user.
-
#icon ⇒ TD::Types::ChatFolderIcon
The chosen or default icon for the chat folder.
-
#id ⇒ Integer
Unique chat folder identifier.
-
#is_shareable ⇒ Boolean
True, if at least one link has been created for the folder.
-
#title ⇒ TD::Types::String
The title of the folder; 1-12 characters without line feeds.
Method Summary
Methods inherited from Base
Instance Attribute Details
#color_id ⇒ Integer
The identifier of the chosen color for the chat folder icon; from -1 to 6. If -1, then color is disabled.
11 12 13 |
# File 'lib/tdlib/types/chat_folder_info.rb', line 11 def color_id @color_id end |
#has_my_invite_links ⇒ Boolean
True, if the chat folder has invite links created by the current user.
11 12 13 |
# File 'lib/tdlib/types/chat_folder_info.rb', line 11 def has_my_invite_links @has_my_invite_links end |
#icon ⇒ TD::Types::ChatFolderIcon
The chosen or default icon for the chat folder.
11 12 13 |
# File 'lib/tdlib/types/chat_folder_info.rb', line 11 def icon @icon end |
#id ⇒ Integer
Unique chat folder identifier.
11 12 13 |
# File 'lib/tdlib/types/chat_folder_info.rb', line 11 def id @id end |
#is_shareable ⇒ Boolean
True, if at least one link has been created for the folder.
11 12 13 |
# File 'lib/tdlib/types/chat_folder_info.rb', line 11 def is_shareable @is_shareable end |
#title ⇒ TD::Types::String
The title of the folder; 1-12 characters without line feeds.
11 12 13 |
# File 'lib/tdlib/types/chat_folder_info.rb', line 11 def title @title end |