Package it.tdlight.jni
Class TdApi.CheckCreatedPublicChatsLimit
- Enclosing class:
- TdApi
Checks whether the maximum number of
owned public chats has been reached.
Returns corresponding error if the
limit was reached.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Type of the public chats, for which to check the limit. -
Constructor Summary
ConstructorDescriptionChecks whether the maximum number of owned public chats has been reached.Checks whether the maximum number of owned public chats has been reached. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
type
Type of the public chats, for which to check the limit. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
CheckCreatedPublicChatsLimit
public CheckCreatedPublicChatsLimit()Checks whether the maximum number of owned public chats has been reached. Returns corresponding error if the limit was reached.Returns
Ok
-
CheckCreatedPublicChatsLimit
Checks whether the maximum number of owned public chats has been reached. Returns corresponding error if the limit was reached.Returns
Ok
- Parameters:
type
- PublicChatType Type of the public chats, for which to check the limit.
-
CheckCreatedPublicChatsLimit
- 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()
-