class TelegramBot::RichText

Overview

Rich text can be plain text, a sequence, or a typed formatting entity.

Defined in:

telegram_bot/types/rich_text.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(value : String | Array(RichText) | RichTextEntity) #

Instance Method Detail

def to_json(json : JSON::Builder) #

def value : String | Array(RichText) | RichTextEntity #