The Android Kotlin Chat Messaging SDK includes both a low-level chat SDK and reusable UI components put together in a sample app. Start with the UI components, and fall back to the lower level API when you want to customize things.
The best place to start is the Android Chat Tutorial. The tutorial teaches you how to use this SDK and also shows how to make common changes. The tutorial is available in both Java or Kotlin.