Class: TD::Types::MessageContent::Document

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

Overview

A document message (general file).

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#captionTD::Types::FormattedText

Document caption.

Returns:



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

def caption
  @caption
end

#documentTD::Types::Document

Message content.

Returns:



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

def document
  @document
end