Class: TD::Types::PremiumLimit

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

Overview

Contains information about a limit, increased for Premium users.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#default_valueInteger

Default value of the limit.

Returns:

  • (Integer)

    the current value of default_value



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

def default_value
  @default_value
end

#premium_valueInteger

Value of the limit for Premium users.

Returns:

  • (Integer)

    the current value of premium_value



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

def premium_value
  @premium_value
end

#typeTD::Types::PremiumLimitType

The type of the limit.

Returns:



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

def type
  @type
end