telegram api constructor · layer 229 · #ef156a5c

businessAwayMessage

Describes a Telegram Business away message, automatically sent to users writing to us when we're offline, during closing hours, while we're on vacation, or in some other custom time period when we cannot immediately answer to the user.

definition

businessAwayMessage#ef156a5c flags:# offline_only:flags.0?true shortcut_id:int schedule:BusinessAwayMessageSchedule recipients:BusinessRecipients = BusinessAwayMessage;

parameters

nametypedescription
flags#Flags, see TL conditional fields
offline_onlyflags.0?trueIf set, the messages will not be sent if the account was online in the last 10 minutes.
shortcut_idintID of a quick reply shorcut, containing the away messages to send, see here » for more info.
scheduleBusinessAwayMessageScheduleSpecifies when should the away messages be sent.
recipientsBusinessRecipientsAllowed recipients for the away messages.

type

BusinessAwayMessage

history

present in layers 176–229

idlayers
#ef156a5c176–229