Class TdApi.DeleteBusinessMessages

Enclosing class:
TdApi

public static class TdApi.DeleteBusinessMessages extends TdApi.Function<TdApi.Ok>
Deletes messages on behalf of a business account; for bots only.

Returns Ok

  • Field Details

    • businessConnectionId

      public String businessConnectionId
      Unique identifier of business connection through which the messages were received.
    • messageIds

      public long[] messageIds
      Identifier of the messages.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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

      public DeleteBusinessMessages(String businessConnectionId, long[] messageIds)
      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 class TdApi.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR