mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
make Story to be data class
This commit is contained in:
parent
6571e8f592
commit
3da4ee4808
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user