Package-level declarations

Types

Link copied to clipboard
@Serializable
value class BoostId(val string: String)
Link copied to clipboard
@Serializable
data class ChatBoost(val id: BoostId, val addDate: TelegramDate, val expirationDate: TelegramDate, val source: ChatBoostSource)
Link copied to clipboard
@Serializable
data class ChatBoostRemoved(val chat: PreviewChat, val boostId: BoostId, val removeDate: TelegramDate, val source: ChatBoostSource) : WithPreviewChat
Link copied to clipboard
@Serializable(with = ChatBoostSource.Companion::class)
sealed interface ChatBoostSource
Link copied to clipboard
@Serializable
data class ChatBoostUpdated(val chat: PreviewChat, val boost: ChatBoost) : WithPreviewChat
Link copied to clipboard
@Serializable
data class UserChatBoosts(val boosts: List<ChatBoost>)