Package org.drinkless.tdlib
Class TdApi.SetManagedBotAccessSettings
- Enclosing class:
TdApi
Sets access settings of a managed bot; for bots only.
Returns Ok
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function
TdApi.Function.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the managed bot.static final intIdentifier uniquely determining type of the object.New access settings. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which sets access settings of a managed bot; for bots only.SetManagedBotAccessSettings(long botUserId, TdApi.BotAccessSettings settings) Creates a function, which sets access settings of a managed bot; for bots only. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
botUserId
public long botUserIdIdentifier of the managed bot. -
settings
New access settings. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetManagedBotAccessSettings
public SetManagedBotAccessSettings()Default constructor for a function, which sets access settings of a managed bot; for bots only.Returns
Ok -
SetManagedBotAccessSettings
Creates a function, which sets access settings of a managed bot; for bots only.Returns
Ok- Parameters:
botUserId- Identifier of the managed bot.settings- New access settings.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Function<TdApi.Ok>- Returns:
- this.CONSTRUCTOR
-