mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +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
|
||||
|
||||
@Serializable
|
||||
class Story(
|
||||
data class Story(
|
||||
@SerialName(idField)
|
||||
val id: StoryId,
|
||||
@SerialName(chatField)
|
||||
|
Loading…
Reference in New Issue
Block a user