1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-06-01 07:25:23 +00:00
tgbotapi/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/abstracts/WithChat.kt

12 lines
272 B
Kotlin
Raw Normal View History

2023-03-16 13:29:35 +00:00
package dev.inmo.tgbotapi.abstracts
import dev.inmo.tgbotapi.types.chat.Chat
2023-10-11 07:07:07 +00:00
import dev.inmo.tgbotapi.types.chat.PreviewChat
2023-03-16 13:29:35 +00:00
/**
* All inheritors of this interface have [chat] field and related to this [chat]
*/
2023-10-11 07:07:07 +00:00
interface WithPreviewChat {
val chat: PreviewChat
2023-03-16 13:29:35 +00:00
}