Sha256: ac56aee978ecba0034f29e119efa336c628f42a395fe6301db1264743f7efa7b

Contents?: true

Size: 735 Bytes

Versions: 4

Compression:

Stored size: 735 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, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName 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

4 entries across 4 versions & 2 rubygems

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