<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="underline.html">underline</a>(parts: <ahref="../dev.inmo.tgbotapi.types.MessageEntity.textsources/index.html#-828955009%2FClasslikes%2F-1982836883">TextSourcesList</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="underline.html">underline</a>(noinline init: <ahref="index.html#615579490%2FClasslikes%2F-1982836883">EntitiesBuilderBody</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="underline.html">underline</a>(vararg parts: <ahref="../dev.inmo.tgbotapi.types.MessageEntity.textsources/-text-source/index.html">TextSource</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="underline.html">underline</a>(text: <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 underline using <ahref="-entities-builder/add.html">EntitiesBuilder.add</a> with <ahref="../dev.inmo.tgbotapi.types.MessageEntity.textsources/underline.html">dev.inmo.tgbotapi.types.MessageEntity.textsources.underline</a></p></div>