Raw.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.
businessAwayMessage#ef156a5c flags:# offline_only:flags.0?true shortcut_id:int schedule:BusinessAwayMessageSchedule recipients:BusinessRecipients = BusinessAwayMessage;
export namespace Raw {
export class BusinessAwayMessage {
constructor(params: {
offlineOnly?: boolean;
shortcutId: number;
schedule: Raw.TypeBusinessAwayMessageSchedule;
recipients: Raw.TypeBusinessRecipients;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xef156a5c
Property
offlineOnly
: boolean or undefinedIf set, the messages will not be sent if the account was online in the last 10 minutes.
shortcutId
: numberId of a quick reply shorcut, containing the away messages to send, see here for more info.
schedule
: Raw.TypeBusinessAwayMessageScheduleSpecifies when should the away messages be sent.
recipients
: Raw.TypeBusinessRecipientsAllowed recipients for the away messages.