Sha256: 449ea81479f7d91c0703e722f1f41c9f8b4486c80e2d815fa19830bcc0203981
Contents?: true
Size: 634 Bytes
Versions: 2
Compression:
Stored size: 634 Bytes
Contents
module TD::Types # A text with some entities. # # @attr text [TD::Types::String] The text. # @attr entities [Array<TD::Types::TextEntity>] Entities contained in the text. # Entities can be nested, but must not mutually intersect with each other. # Pre, Code and PreCode entities can't contain other entities. # Bold, Italic, Underline and Strikethrough entities can contain and to be contained in all other entities. # All other entities can't contain each other. class FormattedText < Base attribute :text, TD::Types::String attribute :entities, TD::Types::Array.of(TD::Types::TextEntity) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/formatted_text.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/formatted_text.rb |