Class: TD::Types::AutosaveSettings

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

Overview

Describes autosave settings.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#channel_settings ⇒ TD::Types::ScopeAutosaveSettings

Default autosave settings for channel chats.

Returns:



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

def channel_settings
  @channel_settings
end

#exceptions ⇒ Array<TD::Types::AutosaveSettingsException>

Autosave settings for specific chats.

Returns:



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

def exceptions
  @exceptions
end

#group_settings ⇒ TD::Types::ScopeAutosaveSettings

Default autosave settings for basic group and supergroup chats.

Returns:



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

def group_settings
  @group_settings
end

#private_chat_settings ⇒ TD::Types::ScopeAutosaveSettings

Default autosave settings for private chats.

Returns:



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

def private_chat_settings
  @private_chat_settings
end