1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-25 11:38:45 +00:00

now WebAppData is data class

This commit is contained in:
InsanusMokrassar 2022-04-19 14:59:32 +06:00
parent cf27600fb5
commit 040a996df6

View File

@ -7,7 +7,7 @@ import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable import kotlinx.serialization.Serializable
@Serializable @Serializable
class WebAppData( data class WebAppData(
@SerialName(dataField) @SerialName(dataField)
val data: String, val data: String,
@SerialName(buttonTextField) @SerialName(buttonTextField)