mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-16 13:49:26 +00:00
remove timezone function from BusinessOpeningHours
This commit is contained in:
@@ -12,7 +12,4 @@ data class BusinessOpeningHours(
|
|||||||
val timeZoneName: String,
|
val timeZoneName: String,
|
||||||
@SerialName(openingHoursField)
|
@SerialName(openingHoursField)
|
||||||
val openingHours: List<BusinessOpeningHoursInterval>
|
val openingHours: List<BusinessOpeningHoursInterval>
|
||||||
) {
|
)
|
||||||
val timezone: Timezone
|
|
||||||
get() = Timezone.valueOf(timeZoneName)
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user