Class: TD::Types::MessageContent::Text

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/text.rb

Overview

A text message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#textTD::Types::FormattedText

Text of the message.

Returns:



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

def text
  @text
end

#web_pageTD::Types::WebPage?

A preview of the web page that’s mentioned in the text; may be null.

Returns:



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

def web_page
  @web_page
end