<pclass="paragraph">Setting up ktor server</p><h2class="">See also</h2><divdata-togglable="See also"><divclass="platform-hinted WithExtraAttributes"data-platform-hinted="data-platform-hinted"data-togglable="See also"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/jvmMain"><divdata-togglable="See also"><divclass="table"data-togglable="See also"><divclass="table-row"data-filterable-current=":docs:dokkaHtml/jvmMain"data-filterable-set=":docs:dokkaHtml/jvmMain"><divclass="main-subrow keyValue WithExtraAttributes RowTitle"><divclass=""><spanclass="inline-flex"><ahref="../dev.inmo.tgbotapi.updateshandlers/-flows-updates-filter/index.html">dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter</a></span><spanclass="inline-flex"><divdata-togglable="See also"></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":docs:dokkaHtml/jvmMain"data-filterable-set=":docs:dokkaHtml/jvmMain"><divclass="main-subrow keyValue WithExtraAttributes RowTitle"><divclass=""><spanclass="inline-flex"><ahref="../dev.inmo.tgbotapi.updateshandlers/-updates-filter/as-update-receiver.html">dev.inmo.tgbotapi.updateshandlers.UpdatesFilter</a></span><spanclass="inline-flex"><divdata-togglable="See also"></div></span></div><div></div></div></div></div></div></div></div></div><h2class="">Parameters</h2><divdata-togglable="Parameters"><divclass="platform-hinted WithExtraAttributes"data-platform-hinted="data-platform-hinted"data-togglable="Parameters"><divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/jvmMain"><divdata-togglable="Parameters"><divclass="table"data-togglable="Parameters"><divclass="table-row"data-filterable-current=":docs:dokkaHtml/jvmMain"data-filterable-set=":docs:dokkaHtml/jvmMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex">listenPort</span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">port which will be listen by bot</p></div></div></div></div></div><divclass="table-row"data-filterable-current=":docs:dokkaHtml/jvmMain"data-filterable-set=":docs:dokkaHtml/jvmMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex">listenRoute</span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">address to listen by bot. If null - will be set up in root of host</p></div></div></div></div></div><divclass="table-row"data-filterable-current=":docs:dokkaHtml/jvmMain"data-filterable-set=":docs:dokkaHtml/jvmMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex">scope</span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">Scope which will be used for</p></div></div></div></div></div><divclass="table-row"data-filterable-current=":docs:dokkaHtml/jvmMain"data-filterable-set=":docs:dokkaHtml/jvmMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex">privateKeyConfig</span></div><div><divclass="title"><divdata-togglable="Parameters"><pclass="paragraph">If configured - server will be created with <spandata-unresolved-link="io.ktor.server.engine//sslConnector/io.ktor.server.engine.ApplicationEngineEnvironmentBuilder#java.security.KeyStore#kotlin.String#kotlin.Function0[kotlin.CharArray]#kotlin.Function0[kotlin.CharArray]#kotlin.Function1[io.ktor.server.engine.EngineSSLConnectorBuilder,kotlin.Unit]/PointingToDeclaration/">sslConnector</span>. <spandata-unresolved-link="io.ktor.server.engine//connector/io.ktor.server.engine.ApplicationEngineEnvironmentBuilder#kotlin.Function1[io.ktor.server.engine.EngineConnectorBuilder,kotlin.Unit]/PointingToDeclaration/">connector</span> will be used otherwise</p></div></div></div></div></div></div></div></div></div></div></div>