Telegram 客户端通过新方法 SendRichTextMessages 进行了改进,该方法支持使用以下样式:粗体、斜体、下划线、删除线和代码。
使用非常简单,如果您想发送粗体文本,只需使用以下符号:
This is a **bold** text.
Markdown 语法
Bold [ * ]
**This is bold message**
Italic [ _ ]
__This is italic message__
Strike [ - ]
--This is strike message--
Underline [ ~ ]
~~This is underline message~~
Monospace [ # ]
##This is monospace message##
以下视频展示了在 Telegram 应用程序中的工作方式。
});