- 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
FieldsModifier and TypeFieldDescriptionstatic final intType of the public chats, for which to check the limit. -
Constructor Summary
ConstructorsConstructorDescriptionChecks 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-