Sha256: 41ffdaba59ebab82ac2482a7efc2d971216b5fff83c45e1b7dd9bd8ecce0ff1d

Contents?: true

Size: 956 Bytes

Versions: 2

Compression:

Stored size: 956 Bytes

Contents

module TD::Types
  # The file generation process needs to be started by the application.
  #
  # @attr generation_id [Integer] Unique identifier for the generation process.
  # @attr original_path [TD::Types::String, nil] The path to a file from which a new file is generated; may be empty.
  # @attr destination_path [TD::Types::String] The path to a file that should be created and where the new file should
  #   be generated.
  # @attr conversion [TD::Types::String] String specifying the conversion applied to the original file.
  #   If conversion is "#url#" than original_path contains an HTTP/HTTPS URL of a file, which should be downloaded by
  #   the application.
  class Update::FileGenerationStart < Update
    attribute :generation_id, TD::Types::Coercible::Integer
    attribute :original_path, TD::Types::String.optional.default(nil)
    attribute :destination_path, TD::Types::String
    attribute :conversion, TD::Types::String
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/update/file_generation_start.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/update/file_generation_start.rb