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:
parent
cf27600fb5
commit
040a996df6
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user