Sha256: 24f2cfe3a42eaa769995a0e6906d22d1d5174a37ccb85276f1bdb535825017e9

Contents?: true

Size: 690 Bytes

Versions: 2

Compression:

Stored size: 690 Bytes

Contents

module TD::Types
  # A text message.
  #
  # @attr text [TD::Types::FormattedText] Formatted text to be sent; 1-GetOption("message_text_length_max") characters.
  #   Only Bold, Italic, Code, Pre, PreCode and TextUrl entities are allowed to be specified manually.
  # @attr disable_web_page_preview [Boolean] True, if rich web page previews for URLs in the message text should be
  #   disabled.
  # @attr clear_draft [Boolean] True, if a chat message draft should be deleted.
  class InputMessageContent::Text < InputMessageContent
    attribute :text, TD::Types::FormattedText
    attribute :disable_web_page_preview, TD::Types::Bool
    attribute :clear_draft, TD::Types::Bool
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-ruby-2.1.0 lib/tdlib/types/input_message_content/text.rb
tdlib-ruby-2.0.0 lib/tdlib/types/input_message_content/text.rb