Package org.drinkless.tdlib
Class TdApi.BotAccessSettings
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.BotAccessSettings
- Enclosing class:
TdApi
Describes users that have access to a bot.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong[]Identifiers of the users who can use the bot additionally to the owner of the bot.static final intIdentifier uniquely determining type of the object.booleanTrue, if access to the bot is restricted to its owner and selected users. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes users that have access to a bot.BotAccessSettings(boolean isRestricted, long[] addedUserIds) Describes users that have access to a bot. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
isRestricted
public boolean isRestrictedTrue, if access to the bot is restricted to its owner and selected users. -
addedUserIds
public long[] addedUserIdsIdentifiers of the users who can use the bot additionally to the owner of the bot. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
BotAccessSettings
public BotAccessSettings()Describes users that have access to a bot. -
BotAccessSettings
public BotAccessSettings(boolean isRestricted, long[] addedUserIds) Describes users that have access to a bot.- Parameters:
isRestricted- True, if access to the bot is restricted to its owner and selected users.addedUserIds- Identifiers of the users who can use the bot additionally to the owner of the bot.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-