2022-05-01 16:13:40 +00:00
|
|
|
package dev.inmo.tgbotapi.abstracts
|
|
|
|
|
2022-08-05 10:31:39 +00:00
|
|
|
import dev.inmo.tgbotapi.ksp.lib.ClassCastsIncluded
|
2022-05-01 16:13:40 +00:00
|
|
|
import dev.inmo.tgbotapi.types.chat.User
|
|
|
|
|
|
|
|
/**
|
|
|
|
* All inheritors of this type have [User] in their data as one of the main data
|
|
|
|
*
|
|
|
|
* @see FromUser
|
|
|
|
*/
|
2022-08-05 10:31:39 +00:00
|
|
|
@ClassCastsIncluded
|
2022-05-01 16:13:40 +00:00
|
|
|
interface WithUser {
|
|
|
|
val user: User
|
|
|
|
}
|