Class: TD::Types::PhoneNumberInfo
- Defined in:
- lib/tdlib/types/phone_number_info.rb
Overview
Contains information about a phone number.
Instance Attribute Summary collapse
-
#country ⇒ TD::Types::CountryInfo?
Information about the country to which the phone number belongs; may be null.
-
#country_calling_code ⇒ TD::Types::String
The part of the phone number denoting country calling code or its part.
-
#formatted_phone_number ⇒ TD::Types::String
The phone number without country calling code formatted accordingly to local rules.
Method Summary
Methods inherited from Base
Instance Attribute Details
#country ⇒ TD::Types::CountryInfo?
Information about the country to which the phone number belongs; may be null.
10 11 12 |
# File 'lib/tdlib/types/phone_number_info.rb', line 10 def country @country end |
#country_calling_code ⇒ TD::Types::String
The part of the phone number denoting country calling code or its part.
10 11 12 |
# File 'lib/tdlib/types/phone_number_info.rb', line 10 def country_calling_code @country_calling_code end |
#formatted_phone_number ⇒ TD::Types::String
The phone number without country calling code formatted accordingly to local rules.
10 11 12 |
# File 'lib/tdlib/types/phone_number_info.rb', line 10 def formatted_phone_number @formatted_phone_number end |