public static class TdApi.TargetChatTypes extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
allowBotChats
True, if private chats with other bots are allowed.
|
boolean |
allowChannelChats
True, if channel chats are allowed.
|
boolean |
allowGroupChats
True, if basic group and supergroup chats are allowed.
|
boolean |
allowUserChats
True, if private chats with ordinary users are allowed.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
TargetChatTypes()
Describes allowed types for the target chat.
|
TargetChatTypes(boolean allowUserChats,
boolean allowBotChats,
boolean allowGroupChats,
boolean allowChannelChats)
Describes allowed types for the target chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean allowUserChats
public boolean allowBotChats
public boolean allowGroupChats
public boolean allowChannelChats
public static final int CONSTRUCTOR
public TargetChatTypes()
public TargetChatTypes(boolean allowUserChats,
boolean allowBotChats,
boolean allowGroupChats,
boolean allowChannelChats)
allowUserChats - True, if private chats with ordinary users are allowed.allowBotChats - True, if private chats with other bots are allowed.allowGroupChats - True, if basic group and supergroup chats are allowed.allowChannelChats - True, if channel chats are allowed.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object