Class: TD::Types::RichText::PhoneNumber
- Inherits:
-
TD::Types::RichText
- Object
- Dry::Struct
- Base
- TD::Types::RichText
- TD::Types::RichText::PhoneNumber
- Defined in:
- lib/tdlib/types/rich_text/phone_number.rb
Overview
A rich text phone number.
Instance Attribute Summary collapse
-
#phone_number ⇒ TD::Types::String
Phone number.
-
#text ⇒ TD::Types::RichText
Text.
Method Summary
Methods inherited from Base
Instance Attribute Details
#phone_number ⇒ TD::Types::String
Phone number.
6 7 8 |
# File 'lib/tdlib/types/rich_text/phone_number.rb', line 6 def phone_number @phone_number end |
#text ⇒ TD::Types::RichText
Text.
6 7 8 |
# File 'lib/tdlib/types/rich_text/phone_number.rb', line 6 def text @text end |