Skip to main content

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.

type tg.BusinessAwayMessage struct { /* ... */ }

Fieldsโ€‹

NameTypeRequiredDescription
OfflineOnlyboolโ€”If set, the messages will not be sent if the account was online in the last 10 minutes.
ShortcutIDintyesID of a quick reply shorcut, containing the away messages to send, see here ยป for more info.
ScheduleBusinessAwayMessageScheduleClassyesSpecifies when should the away messages be sent.
RecipientsBusinessRecipientsyesAllowed recipients for the away messages.

Referencesโ€‹