Skip to content

BusinessAwayMessageSettings

Type · TDLib 1.8.67 · d1085f9c

Describes settings for messages that are automatically sent by a Telegram Business account when it is away

BusinessAwayMessageSettings(
  shortcut_id: int32,
  recipients: BusinessRecipients,
  schedule: BusinessAwayMessageSchedule,
  offline_only: Bool
) → BusinessAwayMessageSettings

shortcut_id

int32

Unique quick reply shortcut identifier for the away messages

recipients

BusinessRecipients

Chosen recipients of the away messages

schedule

BusinessAwayMessageSchedule

Settings used to check whether the current user is away

offline_only

Bool

True, if the messages must not be sent if the account was online in the last 10 minutes