enum Telegram::API::ParseMode

Overview

The Bot API supports basic formatting for messages. You can use bold, italic, underlined, strikethrough, and spoiler text, as well as inline links and pre-formatted code in your bots' messages. Telegram clients will render them accordingly. You can use either markdown-style or HTML-style formatting.

Defined in:

telegram/api/types.cr

Enum Members

Markdown = 0
MarkdownV2 = 1
HTML = 2

Instance Method Summary

Instance Method Detail

def html? #

[View source]
def markdown? #

[View source]
def markdown_v2? #

[View source]