Class: TD::Types::ScopeAutosaveSettings

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

Overview

Contains autosave settings for an autosave settings scope.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#autosave_photosBoolean

True, if photo autosave is enabled.

Returns:

  • (Boolean)

    the current value of autosave_photos



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

def autosave_photos
  @autosave_photos
end

#autosave_videosBoolean

True, if video autosave is enabled.

Returns:

  • (Boolean)

    the current value of autosave_videos



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

def autosave_videos
  @autosave_videos
end

#max_video_file_sizeInteger

The maximum size of a video file to be autosaved, in bytes; 512 KB - 4000 MB.

Returns:

  • (Integer)

    the current value of max_video_file_size



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

def max_video_file_size
  @max_video_file_size
end