Class: TD::Types::InternalLinkType::PremiumGift

Inherits:
TD::Types::InternalLinkType show all
Defined in:
lib/tdlib/types/internal_link_type/premium_gift.rb

Overview

The link is a link to the screen for gifting Telegram Premium subscriptions to friends via inputInvoiceTelegram

payments or in-store purchases.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#referrerTD::Types::String

Referrer specified in the link.

Returns:

  • (TD::Types::String)

    the current value of referrer



6
7
8
# File 'lib/tdlib/types/internal_link_type/premium_gift.rb', line 6

def referrer
  @referrer
end