Class: TD::Types::TextParseMode::Markdown
- Inherits:
-
TD::Types::TextParseMode
- Object
- Dry::Struct
- Base
- TD::Types::TextParseMode
- TD::Types::TextParseMode::Markdown
- Defined in:
- lib/tdlib/types/text_parse_mode/markdown.rb
Overview
The text uses Markdown-style formatting.
Instance Attribute Summary collapse
-
#version ⇒ Integer
Version of the parser: 0 or 1 - Telegram Bot API “Markdown” parse mode, 2 - Telegram Bot API “MarkdownV2” parse mode.
Method Summary
Methods inherited from Base
Instance Attribute Details
#version ⇒ Integer
Version of the parser: 0 or 1 - Telegram Bot API “Markdown” parse mode, 2 - Telegram Bot API “MarkdownV2” parse mode.
6 7 8 |
# File 'lib/tdlib/types/text_parse_mode/markdown.rb', line 6 def version @version end |