Class: TD::Types::PassportElement::PhoneNumber

Inherits:
TD::Types::PassportElement show all
Defined in:
lib/tdlib/types/passport_element/phone_number.rb

Overview

A Telegram Passport element containing the user’s phone number.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#phone_numberTD::Types::String

Phone number.

Returns:

  • (TD::Types::String)

    the current value of phone_number



5
6
7
# File 'lib/tdlib/types/passport_element/phone_number.rb', line 5

def phone_number
  @phone_number
end