Class: TD::Types::InternalLinkType::PhoneNumberConfirmation
- Inherits:
-
TD::Types::InternalLinkType
- Object
- Dry::Struct
- Base
- TD::Types::InternalLinkType
- TD::Types::InternalLinkType::PhoneNumberConfirmation
- Defined in:
- lib/tdlib/types/internal_link_type/phone_number_confirmation.rb
Overview
The link can be used to confirm ownership of a phone number to prevent account deletion. Call sendPhoneNumberCode with the given phone number and with phoneNumberCodeTypeConfirmOwnership with the given
hash to process the link.
If succeeded, call checkPhoneNumberCode to check entered by the user code, or resendPhoneNumberCode to resend it.
Instance Attribute Summary collapse
-
#hash ⇒ TD::Types::String
Hash value from the link.
-
#phone_number ⇒ TD::Types::String
Phone number value from the link.
Method Summary
Methods inherited from Base
Instance Attribute Details
#hash ⇒ TD::Types::String
Hash value from the link.
9 10 11 |
# File 'lib/tdlib/types/internal_link_type/phone_number_confirmation.rb', line 9 def hash @hash end |
#phone_number ⇒ TD::Types::String
Phone number value from the link.
9 10 11 |
# File 'lib/tdlib/types/internal_link_type/phone_number_confirmation.rb', line 9 def phone_number @phone_number end |