Class: TD::Types::Update::ChatFolders

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/chat_folders.rb

Overview

The list of chat folders or a chat folder has changed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#are_tags_enabledBoolean

True, if folder tags are enabled.

Returns:

  • (Boolean)

    the current value of are_tags_enabled



7
8
9
# File 'lib/tdlib/types/update/chat_folders.rb', line 7

def are_tags_enabled
  @are_tags_enabled
end

#chat_foldersArray<TD::Types::ChatFolderInfo>

The new list of chat folders.

Returns:



7
8
9
# File 'lib/tdlib/types/update/chat_folders.rb', line 7

def chat_folders
  @chat_folders
end

#main_chat_list_positionInteger

Position of the main chat list among chat folders, 0-based.

Returns:

  • (Integer)

    the current value of main_chat_list_position



7
8
9
# File 'lib/tdlib/types/update/chat_folders.rb', line 7

def main_chat_list_position
  @main_chat_list_position
end