toTelegramUpdate

fun Json.toTelegramUpdate(source: String): Update
fun Json.toTelegramUpdate(source: JsonElement): Update

Return

Deserialize source as dev.inmo.tgbotapi.types.update.abstracts.Update

fun String.toTelegramUpdate(): Update

Return

Deserialize this as dev.inmo.tgbotapi.types.update.abstracts.Update. In fact, it is must be JSON

See also

fun JsonElement.toTelegramUpdate(): Update

Return

Deserialize this as dev.inmo.tgbotapi.types.update.abstracts.Update

See also