public static class TdApi.CheckCreatedPublicChatsLimit extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.PublicChatType |
type
Type of the public chats, for which to check the limit.
|
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.PublicChatType type
public static final int CONSTRUCTOR
public CheckCreatedPublicChatsLimit()
Returns Ok
public CheckCreatedPublicChatsLimit(TdApi.PublicChatType type)
Returns Ok
type - Type of the public chats, for which to check the limit.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object