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 Summary

    Fields
    Modifier and Type
    Field
    Description
    Unique 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

    Constructors
    Constructor
    Description
    Default 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 Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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.Object
      Returns:
      this.CONSTRUCTOR