Sha256: 4ca6d9b14d7bbfd38b9ba9459ab29ede8b5e416aedc93f3388093154287d7fae
Contents?: true
Size: 838 Bytes
Versions: 3
Compression:
Stored size: 838 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 disable_content_type_detection [Boolean] If true, automatic file type detection will be disabled and the # document will be always sent as file. # Always true for files sent to secret chats. # @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 :disable_content_type_detection, TD::Types::Bool attribute :caption, TD::Types::FormattedText end end
Version data entries
3 entries across 3 versions & 1 rubygems