Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Latest
interface BusinessOpeningHoursInterval
import { type BusinessOpeningHoursInterval } from "https://deno.land/x/grammy@v1.32.0/types.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