Class: TD::Types::RichText::PhoneNumber

Inherits:
TD::Types::RichText show all
Defined in:
lib/tdlib/types/rich_text/phone_number.rb

Overview

A rich text 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



6
7
8
# File 'lib/tdlib/types/rich_text/phone_number.rb', line 6

def phone_number
  @phone_number
end

#textTD::Types::RichText

Text.

Returns:



6
7
8
# File 'lib/tdlib/types/rich_text/phone_number.rb', line 6

def text
  @text
end