Class TdApi.DeleteGroupCallMessages

Enclosing class:
TdApi

public static class TdApi.DeleteGroupCallMessages extends TdApi.Function<TdApi.Ok>
Deletes messages in a group call; for live story calls only. Requires groupCallMessage.canBeDeleted right.

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    int
    Group call identifier.
    int[]
    Identifiers of the messages to be deleted.
    boolean
    Pass true to report the messages as spam.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which deletes messages in a group call; for live story calls only.
    DeleteGroupCallMessages(int groupCallId, int[] messageIds, boolean reportSpam)
    Creates a function, which deletes messages in a group call; for live story calls 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

    • groupCallId

      public int groupCallId
      Group call identifier.
    • messageIds

      public int[] messageIds
      Identifiers of the messages to be deleted.
    • reportSpam

      public boolean reportSpam
      Pass true to report the messages as spam.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • DeleteGroupCallMessages

      public DeleteGroupCallMessages()
      Default constructor for a function, which deletes messages in a group call; for live story calls only. Requires groupCallMessage.canBeDeleted right.

      Returns Ok

    • DeleteGroupCallMessages

      public DeleteGroupCallMessages(int groupCallId, int[] messageIds, boolean reportSpam)
      Creates a function, which deletes messages in a group call; for live story calls only. Requires groupCallMessage.canBeDeleted right.

      Returns Ok

      Parameters:
      groupCallId - Group call identifier.
      messageIds - Identifiers of the messages to be deleted.
      reportSpam - Pass true to report the messages as spam.
  • 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