Skip to content

ParseMode

enum Tourmaline::ParseMode #

Parse mode for messages.

Members#

Normal = 0 #

Markdown = 1 #

MarkdownV2 = 2 #

HTML = 3 #

Class methods#

.new(pull : JSON::PullParser) #

Methods#

#html? #

#markdown? #

#markdown_v2? #

#normal? #

#to_json(json : JSON::Builder) #