Skip to content

UserMention

class Tourmaline::Format::UserMention
inherits Tourmaline::Format::Token #

Class methods#

.new(token : Token | String, user_id : Int64) #

.new(user) #

Methods#

#to_html : String #

#to_md(version : Int32 = 2) : String #

#token : String | Tourmaline::Format::Token #

#token=(token) #

#user_id : Int64 #

#user_id=(user_id) #