You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to copy-paste the exmaple code to a class under my custom package (other than com.github.kotlintelegrambot.dispatcher), I found that all update subclasses are missing. Meanwhile IDEA just won't give out any import suggestions. I'm new to kotlin and it took quite a few time to find the root cause. Maybe it's better to make the examples more like a standalone project, rather than lies under com.github.kotlintelegrambot?
To be specific, I have to add the below lines if I change the package name in the first line of kotlin-telegram-bot-main/samples/dispatcher/src/main/kotlin/com/github/kotlintelegrambot/dispatcher/Main.kt. Though they are (obviously) not required if package name is com.github.kotlintelegrambot.dispatcher.
When I tried to copy-paste the exmaple code to a class under my custom package (other than
com.github.kotlintelegrambot.dispatcher
), I found that all update subclasses are missing. Meanwhile IDEA just won't give out any import suggestions. I'm new to kotlin and it took quite a few time to find the root cause. Maybe it's better to make the examples more like a standalone project, rather than lies undercom.github.kotlintelegrambot
?To be specific, I have to add the below lines if I change the package name in the first line of
kotlin-telegram-bot-main/samples/dispatcher/src/main/kotlin/com/github/kotlintelegrambot/dispatcher/Main.kt
. Though they are (obviously) not required if package name iscom.github.kotlintelegrambot.dispatcher
.The text was updated successfully, but these errors were encountered: