Package org.drinkless.tdlib
Class TdApi.GetBotSimilarBotCount
- Enclosing class:
- TdApi
Returns approximate number of bots similar to the given bot.
Returns Count
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
User identifier of the target bot.static final int
Identifier uniquely determining type of the object.boolean
Pass true to get the number of bots without sending network requests, or -1 if the number of bots is unknown locally. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns approximate number of bots similar to the given bot.GetBotSimilarBotCount
(long botUserId, boolean returnLocal) Creates a function, which returns approximate number of bots similar to the given bot. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
botUserId
public long botUserIdUser identifier of the target bot. -
returnLocal
public boolean returnLocalPass true to get the number of bots without sending network requests, or -1 if the number of bots is unknown locally. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetBotSimilarBotCount
public GetBotSimilarBotCount()Default constructor for a function, which returns approximate number of bots similar to the given bot.Returns
Count
-
GetBotSimilarBotCount
public GetBotSimilarBotCount(long botUserId, boolean returnLocal) Creates a function, which returns approximate number of bots similar to the given bot.Returns
Count
- Parameters:
botUserId
- User identifier of the target bot.returnLocal
- Pass true to get the number of bots without sending network requests, or -1 if the number of bots is unknown locally.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-