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

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

Overview

The text uses Markdown-style formatting.

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 - Telegram Bot API “Markdown” parse mode, 2 - Telegram 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