Package org.drinkless.tdlib
Class TdApi.CheckCreatedPublicChatsLimit
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.PublicChatTypetypeType of the public chats, for which to check the limit.
-
Constructor Summary
Constructors Constructor Description CheckCreatedPublicChatsLimit()Default constructor for a function, which checks whether the maximum number of owned public chats has been reached.CheckCreatedPublicChatsLimit(TdApi.PublicChatType type)Creates a function, which checks whether the maximum number of owned public chats has been reached.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
type
public TdApi.PublicChatType type
Type of the public chats, for which to check the limit.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CheckCreatedPublicChatsLimit
public CheckCreatedPublicChatsLimit()
Default constructor for a function, which checks whether the maximum number of owned public chats has been reached. Returns corresponding error if the limit was reached.Returns
Ok
-
CheckCreatedPublicChatsLimit
public CheckCreatedPublicChatsLimit(TdApi.PublicChatType type)
Creates a function, which checks whether the maximum number of owned public chats has been reached. Returns corresponding error if the limit was reached.Returns
Ok- Parameters:
type- Type of the public chats, for which to check the limit.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-