Class: TD::Types::TextParseMode::Markdown

Inherits:
TD::Types::TextParseMode show all
Defined in:
lib/tdlib/types/text_parse_mode/markdown.rb

Overview

The text should be parsed in markdown-style.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#versionInteger

Version of the parser: 0 or 1 - Bot API Markdown parse mode, 2 - Bot API MarkdownV2 parse mode.

Returns:

  • (Integer)

    the current value of version



6
7
8
# File 'lib/tdlib/types/text_parse_mode/markdown.rb', line 6

def version
  @version
end