telegram api constructor · layer 229 · #832175e0

inputBusinessAwayMessage

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

inputBusinessAwayMessage#832175e0 flags:# offline_only:flags.0?true shortcut_id:int schedule:BusinessAwayMessageSchedule recipients:InputBusinessRecipients = InputBusinessAwayMessage;

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.
recipientsInputBusinessRecipientsAllowed recipients for the away messages.

type

InputBusinessAwayMessage

history

present in layers 176–229

idlayers
#832175e0176–229