java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.TargetChat
it.tdlight.jni.TdApi.TargetChatChosen
- Enclosing class:
- TdApi
The chat needs to be chosen by the
user among chats of the specified types.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
True, if private chats with other bots are allowed.boolean
True, if channel chats are allowed.boolean
True, if basic group and supergroup chats are allowed.boolean
True, if private chats with ordinary users are allowed.static final int
-
Constructor Summary
ConstructorDescriptionThe 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.TargetChatChosen
(DataInput input) The chat needs to be chosen by the user among chats of the specified types. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, 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 CONSTRUCTOR- 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
- boolean True, if private chats with ordinary users are allowed.allowBotChats
- boolean True, if private chats with other bots are allowed.allowGroupChats
- boolean True, if basic group and supergroup chats are allowed.allowChannelChats
- boolean True, if channel chats are allowed.
-
TargetChatChosen
The chat needs to be chosen by the user among chats of the specified types.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-