haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.BusinessAwayMessageSchedule

Synopsis

Documentation

data BusinessAwayMessageSchedule Source #

Describes conditions for sending of away messages by a Telegram Business account

Constructors

BusinessAwayMessageScheduleAlways

Send away messages always

BusinessAwayMessageScheduleOutsideOfOpeningHours

Send away messages outside of the business opening hours

BusinessAwayMessageScheduleCustom

Send away messages only in the specified time span

Fields

  • start_date :: Maybe Int

    Point in time (Unix timestamp) when the away messages will start to be sent

  • end_date :: Maybe Int

    Point in time (Unix timestamp) when the away messages will stop to be sent