mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-07 17:19:24 +00:00
make Story to be data class
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user