public static class TdApi.BusinessGreetingMessageSettings extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
inactivityDays
The number of days after which a chat will be considered as inactive; currently, must be on of 7, 14, 21, or 28.
|
TdApi.BusinessRecipients |
recipients
Chosen recipients of the greeting messages.
|
int |
shortcutId
Unique quick reply shortcut identifier for the greeting messages.
|
| Constructor and Description |
|---|
BusinessGreetingMessageSettings()
Describes settings for greeting messages that are automatically sent by a Telegram Business account as response to incoming messages in an inactive private chat.
|
BusinessGreetingMessageSettings(int shortcutId,
TdApi.BusinessRecipients recipients,
int inactivityDays)
Describes settings for greeting messages that are automatically sent by a Telegram Business account as response to incoming messages in an inactive private chat.
|
| 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 int inactivityDays
public static final int CONSTRUCTOR
public BusinessGreetingMessageSettings()
public BusinessGreetingMessageSettings(int shortcutId,
TdApi.BusinessRecipients recipients,
int inactivityDays)
shortcutId - Unique quick reply shortcut identifier for the greeting messages.recipients - Chosen recipients of the greeting messages.inactivityDays - The number of days after which a chat will be considered as inactive; currently, must be on of 7, 14, 21, or 28.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object