Sha256: 51782478c97cfe81873b7176047898758ed9434364bff8673a49ba03a21a18d6

Contents?: true

Size: 566 Bytes

Versions: 3

Compression:

Stored size: 566 Bytes

Contents

module TD::Types
  # A document message (general file).
  #
  # @attr document [TD::Types::InputFile] Document to be sent.
  # @attr thumbnail [TD::Types::InputThumbnail, nil] Document thumbnail, if available.
  # @attr caption [TD::Types::FormattedText] Document caption; 0-GetOption("message_caption_length_max") characters.
  class InputMessageContent::Document < InputMessageContent
    attribute :document, TD::Types::InputFile
    attribute :thumbnail, TD::Types::InputThumbnail.optional.default(nil)
    attribute :caption, TD::Types::FormattedText
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/input_message_content/document.rb
tdlib-ruby-2.1.0 lib/tdlib/types/input_message_content/document.rb
tdlib-ruby-2.0.0 lib/tdlib/types/input_message_content/document.rb