Sha256: a31ebec4f41b8c1be4e9458a747dc2a65c6d615b03bc588ef08ab2b9d3e10905

Contents?: true

Size: 386 Bytes

Versions: 6

Compression:

Stored size: 386 Bytes

Contents

module TD::Types
  # A text message.
  #
  # @attr text [TD::Types::FormattedText] Text of the message.
  # @attr web_page [TD::Types::WebPage, nil] A preview of the web page that's mentioned in the text; may be null.
  class MessageContent::Text < MessageContent
    attribute :text, TD::Types::FormattedText
    attribute :web_page, TD::Types::WebPage.optional.default(nil)
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/message_content/text.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/message_content/text.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/message_content/text.rb
tdlib-ruby-2.2.0 lib/tdlib/types/message_content/text.rb
tdlib-ruby-2.1.0 lib/tdlib/types/message_content/text.rb
tdlib-ruby-2.0.0 lib/tdlib/types/message_content/text.rb