Sha256: ffd5c4e276e2c208858ab2fa32cb45f36eca5ebc54cedf194776a218da6d9610

Contents?: true

Size: 559 Bytes

Versions: 3

Compression:

Stored size: 559 Bytes

Contents

module TD::Types
  # A small image inside the text.
  #
  # @attr document [TD::Types::Document] The image represented as a document.
  #   The image can be in GIF, JPEG or PNG format.
  # @attr width [Integer] Width of a bounding box in which the image should be shown; 0 if unknown.
  # @attr height [Integer] Height of a bounding box in which the image should be shown; 0 if unknown.
  class RichText::Icon < RichText
    attribute :document, TD::Types::Document
    attribute :width, TD::Types::Integer
    attribute :height, TD::Types::Integer
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/rich_text/icon.rb
tdlib-ruby-2.2.0 lib/tdlib/types/rich_text/icon.rb
tdlib-ruby-2.1.0 lib/tdlib/types/rich_text/icon.rb