typescript-telegram-bot-api
Version:
Telegram Bot API wrapper for Node.js written in TypeScript
18 lines (17 loc) • 643 B
TypeScript
/**
* ## BusinessOpeningHoursInterval
* Describes an interval of time during which a business is open.
* @see https://core.telegram.org/bots/api#businessopeninghoursinterval
*/
export type BusinessOpeningHoursInterval = {
/**
* 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
*/
opening_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
*/
closing_minute: number;
};