<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"><spandata-unresolved-link="dev.inmo.tgbotapi.updateshandlers/FlowsUpdatesFilter///PointingToDeclaration/"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>updateshandlers.</span><wbr></wbr><span>Flows</span><wbr></wbr><span>Updates</span><wbr></wbr><span><span>Filter</span></span></span></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"><spandata-unresolved-link="dev.inmo.tgbotapi.updateshandlers/UpdatesFilter/asUpdateReceiver/#/PointingToDeclaration/"><span>dev.</span><wbr></wbr><span>inmo.</span><wbr></wbr><span>tgbotapi.</span><wbr></wbr><span>updateshandlers.</span><wbr></wbr><span>Updates</span><wbr></wbr><span><span>Filter</span></span></span></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"><span>listen</span><wbr></wbr><span><span>Port</span></span></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"><span>listen</span><wbr></wbr><span><span>Route</span></span></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"><span><span>scope</span></span></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"><span>private</span><wbr></wbr><span>Key</span><wbr></wbr><span><span>Config</span></span></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.s