<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace">inline fun <ahref="-entities-builder/index.html">EntitiesBuilder</a>.<ahref="link.html">link</a>(text: <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, url: <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>): <ahref="-entities-builder/index.html">EntitiesBuilder</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><divclass="symbol monospace">inline fun <ahref="-entities-builder/index.html">EntitiesBuilder</a>.<ahref="link.html">link</a>(url: <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>): <ahref="-entities-builder/index.html">EntitiesBuilder</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<pclass="paragraph">Add link using <ahref="-entities-builder/add.html">EntitiesBuilder.add</a> with <ahref="../dev.inmo.tgbotapi.types.MessageEntity.textsources/link.html">dev.inmo.tgbotapi.types.MessageEntity.textsources.link</a></p></div>
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace">val <ahref="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a>.<ahref="link.html">link</a>: <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>?<spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<pclass="paragraph">Link which can be used as by any user to get access to <ahref="../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.html">Chat</a>. Returns null in case when there are no known way to build link</p></div>