link

inline fun EntitiesBuilder.link(text: String, url: String): EntitiesBuilder
inline fun EntitiesBuilder.link(url: String): EntitiesBuilder

Add link using EntitiesBuilder.add with dev.inmo.tgbotapi.types.message.textsources.link


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