mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-07 12:23:14 +00:00
make Story to be data class
This commit is contained in:
1 parent
6571e8f592
commit
3da4ee4808
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user