Sha256: 1a563144ac37ff9be638a0e1fe459b00e996631fbb6535a596ad19aaee2c32dc
Contents?: true
Size: 623 Bytes
Versions: 2
Compression:
Stored size: 623 Bytes
Contents
module TD::Types # A text with some entities. # # @attr text [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 & 2 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.1 | lib/tdlib/types/formatted_text.rb |
tdlib-ruby-2.2.0 | lib/tdlib/types/formatted_text.rb |