Class: TD::Types::Text

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/text.rb

Overview

Contains some text.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#textString

Text.

Returns:

  • (String)

    the current value of text



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

def text
  @text
end