public static class TdApi.BusinessAwayMessageSettings extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
offlineOnly
True, if the messages must not be sent if the account was online in the last 10 minutes.
|
TdApi.BusinessRecipients |
recipients
Chosen recipients of the away messages.
|
TdApi.BusinessAwayMessageSchedule |
schedule
Settings used to check whether the current user is away.
|
int |
shortcutId
Unique quick reply shortcut identifier for the away messages.
|
| Constructor and Description |
|---|
BusinessAwayMessageSettings()
Describes settings for messages that are automatically sent by a Telegram Business account when it is away.
|
BusinessAwayMessageSettings(int shortcutId,
TdApi.BusinessRecipients recipients,
TdApi.BusinessAwayMessageSchedule schedule,
boolean offlineOnly)
Describes settings for messages that are automatically sent by a Telegram Business account when it is away.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int shortcutId
public TdApi.BusinessRecipients recipients
public TdApi.BusinessAwayMessageSchedule schedule
public boolean offlineOnly
public static final int CONSTRUCTOR
public BusinessAwayMessageSettings()
public BusinessAwayMessageSettings(int shortcutId,
TdApi.BusinessRecipients recipients,
TdApi.BusinessAwayMessageSchedule schedule,
boolean offlineOnly)
shortcutId - Unique quick reply shortcut identifier for the away messages.recipients - Chosen recipients of the away messages.schedule - Settings used to check whether the current user is away.offlineOnly - True, if the messages must not be sent if the account was online in the last 10 minutes.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object