Sha256: 959f555903b337daf7ad59a033840eeb25bec643c4287247d53312f3d01367e1
Contents?: true
Size: 581 Bytes
Versions: 2
Compression:
Stored size: 581 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::Coercible::Integer attribute :height, TD::Types::Coercible::Integer end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/rich_text/icon.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/rich_text/icon.rb |