public static class TdApi.GetChatSimilarChatCount extends TdApi.Function<TdApi.Count>
Returns Count
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the target chat; must be an identifier of a channel chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
returnLocal
Pass true to get the number of chats without sending network requests, or -1 if the number of chats is unknown locally.
|
| Constructor and Description |
|---|
GetChatSimilarChatCount()
Default constructor for a function, which returns approximate number of chats similar to the given chat.
|
GetChatSimilarChatCount(long chatId,
boolean returnLocal)
Creates a function, which returns approximate number of chats similar to the given chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public boolean returnLocal
public static final int CONSTRUCTOR
public GetChatSimilarChatCount()
Returns Count
public GetChatSimilarChatCount(long chatId,
boolean returnLocal)
Returns Count
chatId - Identifier of the target chat; must be an identifier of a channel chat.returnLocal - Pass true to get the number of chats without sending network requests, or -1 if the number of chats is unknown locally.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object