↑ Table of Contents
MentionObject is a class for mentions for user, page, database, date, link_preview and template_mention.1. Class methods
new hash
- [PARAM] hash parameters for several type of metions. See the following sample.
2. Instance methods
bold=(flag) code=(flag) color=(color) italic=(flag) strikethrough=(flag) underline=(flag)
- [PARAM] flag
true if the
RichTextObjectis bold/code/italic/strikethrough/underline text
- [PARAM] color
color string for
color=
bold=, code=, italic=, strikethrough= and underline= set the correspond flag. color= sets the object color.