link

inline fun EntitiesBuilder.link(text: String, url: String)
inline fun EntitiesBuilder.link(url: String)
infix fun Pair<String, String>.link(parseMode: ParseMode): String
val Username.link: String
val Message.link: String?

See also

val Chat.link: String?

Link which can be used as by any user to get access to Chat. Returns null in case when there are no known way to build link