Class: TD::Types::PremiumGiveawayParticipantStatus::DisallowedCountry

Inherits:
TD::Types::PremiumGiveawayParticipantStatus show all
Defined in:
lib/tdlib/types/premium_giveaway_participant_status/disallowed_country.rb

Overview

The user can’t participate in the giveaway, because they phone number is from a disallowed country.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#user_country_codeTD::Types::String

A two-letter ISO 3166-1 alpha-2 country code of the user’s country.

Returns:

  • (TD::Types::String)

    the current value of user_country_code



5
6
7
# File 'lib/tdlib/types/premium_giveaway_participant_status/disallowed_country.rb', line 5

def user_country_code
  @user_country_code
end