mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-11 06:13:47 +00:00
remove timezone function from BusinessOpeningHours
This commit is contained in:
1 parent
ab9718b7c6
commit
6a8b83f750
1 file changed
+1
-4
+1
-4
@@ -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