Package it.tdlight.jni
Class TdApi.CheckCreatedPublicChatsLimit
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.CheckCreatedPublicChatsLimit
- Enclosing class:
- TdApi
public static class TdApi.CheckCreatedPublicChatsLimit extends TdApi.Function
Checks whether the maximum number of
owned public chats has been reached.
Returns corresponding error if the
limit was reached.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.PublicChatType
type
Type of the public chats, for which to check the limit. -
Constructor Summary
Constructors Constructor Description CheckCreatedPublicChatsLimit()
Checks whether the maximum number of owned public chats has been reached.CheckCreatedPublicChatsLimit(TdApi.PublicChatType type)
Checks whether the maximum number of owned public chats has been reached.CheckCreatedPublicChatsLimit(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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()
-