<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">infix </span><spanclass="token keyword">fun </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="link.html"><spanclass="token function">link</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">parseMode<spanclass="token operator">: </span><ahref="../dev.inmo.tgbotapi.types.message/-parse-mode/index.html">ParseMode</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><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><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">val </span><ahref="../dev.inmo.tgbotapi.types/-username/index.html">Username</a><spanclass="token punctuation">.</span><ahref="link.html">link</a><spanclass="token operator">: </span><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><br><br><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">val </span><ahref="../dev.inmo.tgbotapi.types.message.abstracts/-message/index.html">Message</a><spanclass="token punctuation">.</span><ahref="link.html">link</a><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token operator">?</span><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><h2class="">See also</h2><divdata-togglable="See also"><divclass="table"data-togglable="See also"><divclass="table-row"data-filterable-current=":docs:dokkaHtml/commonMain"data-filterable-set=":docs:dokkaHtml/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><div><ahref="make-link-to-message.html"><span>make</span><wbr></wbr><span>Link</span><wbr></wbr><span>To</span><wbr></wbr><span><span>Message</span></span></a></div></span></div><div><divclass="title"><divdata-togglable="See also"></div></div></div></div></div></div></div><br><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">val </span><ahref="../dev.inmo.tgbotapi.types.chat/-chat/index.html">Chat</a><spanclass="token punctuation">.</span><ahref="link.html">link</a><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><spanclass="token operator">?</span><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><pclass="paragraph">Link which can be used as by any user to get access to <ahref="../dev.inmo.tgbotapi.types.chat/-chat/index.html">Chat</a>. Returns null in case when there are no known way to build link</p></div></div>