Raw.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.
inputBusinessAwayMessage#832175e0 flags:# offline_only:flags.0?true shortcut_id:int schedule:BusinessAwayMessageSchedule recipients:InputBusinessRecipients = InputBusinessAwayMessage;
export namespace Raw {
export class InputBusinessAwayMessage {
constructor(params: {
offlineOnly?: boolean;
shortcutId: number;
schedule: Raw.TypeBusinessAwayMessageSchedule;
recipients: Raw.TypeInputBusinessRecipients;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x832175e0
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.TypeInputBusinessRecipientsAllowed recipients for the away messages.