enum Tourmaline::ParseMode

Overview

Parse mode for messages.

Defined in:

Enum Members

Normal = 0
Markdown = 1
MarkdownV2 = 2
HTML = 3

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def html? #

def markdown? #

def markdown_v2? #

def normal? #

def to_json(json : JSON::Builder) #