- Enclosing class:
- TdApi
Checks whether the maximum number of
owned public chats has been reached.
Returns corresponding error if the
limit was reached. The limit can be
increased with Telegram Premium.
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.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. The limit can be increased with Telegram Premium. ReturnsOk
-
CheckCreatedPublicChatsLimit
Checks whether the maximum number of owned public chats has been reached. Returns corresponding error if the limit was reached. The limit can be increased with Telegram Premium. ReturnsOk
- Parameters:
type
- PublicChatType Type of the public chats, for which to check the limit.
-
CheckCreatedPublicChatsLimit
Checks whether the maximum number of owned public chats has been reached. Returns corresponding error if the limit was reached. The limit can be increased with Telegram Premium. ReturnsOk
- 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()
-