lib/tdlib/client_methods.rb
def parse_text_entities(text:, parse_mode:)
    broadcast('@type'      => 'parseTextEntities',
              'text'       => text,
              'parse_mode' => parse_mode)
  end
# Parses Bold, Italic, Underline, Strikethrough, Spoiler, Code, Pre, PreCode, TextUrl and MentionName entities
#   contained in the text.
# Can be called synchronously.
#
# @param text [TD::Types::String] The text to parse.
# @param parse_mode [TD::Types::TextParseMode] Text parse mode.
# @return [TD::Types::FormattedText]
Parses Bold, Italic, Underline, Strikethrough, Spoiler, Code, Pre, PreCode, TextUrl and MentionName entities
contained in the text.
Can be called synchronously.
Parses Bold Italic Underline Strikethrough Spoiler Code Pre PreCode TextUrl and MentionName entities contained in the text . Can be called synchronously .
def parse_text_entities(text:, parse_mode:)
    broadcast('@type'      => 'parseTextEntities',
              'text'       => text,
              'parse_mode' => parse_mode)
  end
def parse_text_entities ( text : , parse_mode : ) broadcast ( '@type' => 'parseTextEntities' , 'text' => text , 'parse_mode' => parse_mode ) end
Parses Bold, Italic, Underline, Strikethrough, Spoiler, Code, Pre, PreCode, TextUrl and MentionName entities
contained in the text.
Parses Bold Italic Underline Strikethrough Spoiler Code Pre PreCode TextUrl and MentionName entities contained in the text .
None
TD::Types::FormattedText
text
The text to parse.
The text to parse .
parse_mode
Text parse mode.
Text parse mode .