Class: TD::Types::PushMessageContent::PremiumGiftCode

Inherits:
TD::Types::PushMessageContent show all
Defined in:
lib/tdlib/types/push_message_content/premium_gift_code.rb

Overview

A message with a Telegram Premium gift code created for the user.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#month_countInteger

Number of months the Telegram Premium subscription will be active after code activation.

Returns:

  • (Integer)

    the current value of month_count



6
7
8
# File 'lib/tdlib/types/push_message_content/premium_gift_code.rb', line 6

def month_count
  @month_count
end