1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 16:23:48 +00:00

now WebAppData is data class

This commit is contained in:
InsanusMokrassar 2022-04-19 14:59:32 +06:00
parent 350b77f6ff
commit f4b080cb45

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)