Class: TD::Types::PremiumFeatures

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

Overview

Contains information about features, available to Premium users.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#featuresArray<TD::Types::PremiumFeature>

The list of available features.

Returns:



8
9
10
# File 'lib/tdlib/types/premium_features.rb', line 8

def features
  @features
end

#limitsArray<TD::Types::PremiumLimit>

The list of limits, increased for Premium users.

Returns:



8
9
10
# File 'lib/tdlib/types/premium_features.rb', line 8

def limits
  @limits
end

An internal link to be opened to pay for Telegram Premium if store payment isn’t possible; may be null if direct payment isn’t available.

Returns:



8
9
10
# File 'lib/tdlib/types/premium_features.rb', line 8

def payment_link
  @payment_link
end