Package org.drinkless.tdlib
Class TdApi.TargetChatChosen
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.TargetChat
org.drinkless.tdlib.TdApi.TargetChatChosen
- Enclosing class:
- TdApi
The chat needs to be chosen by the user among chats of the specified types.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.TargetChat
TdApi.TargetChat.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue, if private chats with other bots are allowed.booleanTrue, if channel chats are allowed.booleanTrue, if basic group and supergroup chats are allowed.booleanTrue, if private chats with ordinary users are allowed.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionThe chat needs to be chosen by the user among chats of the specified types.TargetChatChosen(boolean allowUserChats, boolean allowBotChats, boolean allowGroupChats, boolean allowChannelChats) The chat needs to be chosen by the user among chats of the specified types. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
allowUserChats
public boolean allowUserChatsTrue, if private chats with ordinary users are allowed. -
allowBotChats
public boolean allowBotChatsTrue, if private chats with other bots are allowed. -
allowGroupChats
public boolean allowGroupChatsTrue, if basic group and supergroup chats are allowed. -
allowChannelChats
public boolean allowChannelChatsTrue, if channel chats are allowed. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
TargetChatChosen
public TargetChatChosen()The chat needs to be chosen by the user among chats of the specified types. -
TargetChatChosen
public TargetChatChosen(boolean allowUserChats, boolean allowBotChats, boolean allowGroupChats, boolean allowChannelChats) The chat needs to be chosen by the user among chats of the specified types.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.TargetChat- Returns:
- this.CONSTRUCTOR
-