1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-06-14 13:55:27 +00:00

remove timezone function from BusinessOpeningHours

This commit is contained in:
InsanusMokrassar 2024-04-19 17:50:35 +06:00
parent ab9718b7c6
commit 6a8b83f750

View File

@ -12,7 +12,4 @@ data class BusinessOpeningHours(
val timeZoneName: String,
@SerialName(openingHoursField)
val openingHours: List<BusinessOpeningHoursInterval>
) {
val timezone: Timezone
get() = Timezone.valueOf(timeZoneName)
}
)