Package org.drinkless.tdlib
Class TdApi.AllowBotToSendMessages
- Enclosing class:
- TdApi
Allows the specified bot to send messages to the user.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the target bot.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which allows the specified bot to send messages to the user.AllowBotToSendMessages(long botUserId) Creates a function, which allows the specified bot to send messages to the user. -
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 target bot. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AllowBotToSendMessages
public AllowBotToSendMessages()Default constructor for a function, which allows the specified bot to send messages to the user.Returns
Ok -
AllowBotToSendMessages
public AllowBotToSendMessages(long botUserId) Creates a function, which allows the specified bot to send messages to the user.Returns
Ok- Parameters:
botUserId- Identifier of the target 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
-