1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-26 03:58:44 +00:00

make Story to be data class

This commit is contained in:
InsanusMokrassar 2024-02-17 01:46:26 +06:00
parent 6571e8f592
commit 3da4ee4808

View File

@ -9,7 +9,7 @@ import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable import kotlinx.serialization.Serializable
@Serializable @Serializable
class Story( data class Story(
@SerialName(idField) @SerialName(idField)
val id: StoryId, val id: StoryId,
@SerialName(chatField) @SerialName(chatField)