What is the . specifier in Kotlin

Viewed 36
private object Bot {
    val jda: JDA = JDABuilder.createDefault("token")
        .setActivity(Activity.watching("something"))
        .build()

}

I see a lot of these thing where you specify the parameters using . and indents. What's it called and how does it work?

0 Answers
Related