Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface BusinessOpeningHoursInterval
import { type BusinessOpeningHoursInterval } from "https://deno.land/x/grammy_menu@v1.3.0/deps.deno.ts";

Describes an interval of time during which a business is open.

Properties

opening_minute: number

The minute's sequence number in a week, starting on Monday, marking the start of the time interval during which the business is open; 0 - 7 * 24 * 60

closing_minute: number

The minute's sequence number in a week, starting on Monday, marking the end of the time interval during which the business is open; 0 - 8 * 24 * 60