Package org.drinkless.tdlib
Class TdApi.DeleteBusinessMessages
- Enclosing class:
- TdApi
Deletes messages on behalf of a business account; for bots only.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionUnique identifier of business connection through which the messages were received.static final int
Identifier uniquely determining type of the object.long[]
Identifier of the messages. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which deletes messages on behalf of a business account; for bots only.DeleteBusinessMessages
(String businessConnectionId, long[] messageIds) Creates a function, which deletes messages on behalf of a business account; for bots only. -
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
-
businessConnectionId
Unique identifier of business connection through which the messages were received. -
messageIds
public long[] messageIdsIdentifier of the messages. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
DeleteBusinessMessages
public DeleteBusinessMessages()Default constructor for a function, which deletes messages on behalf of a business account; for bots only.Returns
Ok
-
DeleteBusinessMessages
Creates a function, which deletes messages on behalf of a business account; for bots only.Returns
Ok
- Parameters:
businessConnectionId
- Unique identifier of business connection through which the messages were received.messageIds
- Identifier of the messages.
-
-
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
-