public static class TdApi.BusinessRecipients extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
long[] |
chatIds
Identifiers of selected private chats.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long[] |
excludedChatIds
Identifiers of private chats that are always excluded; for businessConnectedBot only.
|
boolean |
excludeSelected
If true, then all private chats except the selected are chosen.
|
boolean |
selectContacts
True, if all private chats with contacts are selected.
|
boolean |
selectExistingChats
True, if all existing private chats are selected.
|
boolean |
selectNewChats
True, if all new private chats are selected.
|
boolean |
selectNonContacts
True, if all private chats with non-contacts are selected.
|
| Constructor and Description |
|---|
BusinessRecipients()
Describes private chats chosen for automatic interaction with a business.
|
BusinessRecipients(long[] chatIds,
long[] excludedChatIds,
boolean selectExistingChats,
boolean selectNewChats,
boolean selectContacts,
boolean selectNonContacts,
boolean excludeSelected)
Describes private chats chosen for automatic interaction with a business.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long[] chatIds
public long[] excludedChatIds
public boolean selectExistingChats
public boolean selectNewChats
public boolean selectContacts
public boolean selectNonContacts
public boolean excludeSelected
public static final int CONSTRUCTOR
public BusinessRecipients()
public BusinessRecipients(long[] chatIds,
long[] excludedChatIds,
boolean selectExistingChats,
boolean selectNewChats,
boolean selectContacts,
boolean selectNonContacts,
boolean excludeSelected)
chatIds - Identifiers of selected private chats.excludedChatIds - Identifiers of private chats that are always excluded; for businessConnectedBot only.selectExistingChats - True, if all existing private chats are selected.selectNewChats - True, if all new private chats are selected.selectContacts - True, if all private chats with contacts are selected.selectNonContacts - True, if all private chats with non-contacts are selected.excludeSelected - If true, then all private chats except the selected are chosen. Otherwise, only the selected chats are chosen.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object