Class TdApi.DeleteGroupCallMessagesBySender

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.DeleteGroupCallMessagesBySender
Enclosing class:
TdApi

public static class TdApi.DeleteGroupCallMessagesBySender extends TdApi.Function<TdApi.Ok>
Deletes all messages sent by the specified message sender in a group call; for live story calls only. Requires groupCall.canDeleteMessages right.

Returns Ok

  • Field Details

    • groupCallId

      public int groupCallId
      Group call identifier.
    • senderId

      public TdApi.MessageSender senderId
      Identifier of the sender of messages to delete.
    • 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

    • DeleteGroupCallMessagesBySender

      public DeleteGroupCallMessagesBySender()
      Default constructor for a function, which deletes all messages sent by the specified message sender in a group call; for live story calls only. Requires groupCall.canDeleteMessages right.

      Returns Ok

    • DeleteGroupCallMessagesBySender

      public DeleteGroupCallMessagesBySender(int groupCallId, TdApi.MessageSender senderId, boolean reportSpam)
      Creates a function, which deletes all messages sent by the specified message sender in a group call; for live story calls only. Requires groupCall.canDeleteMessages right.

      Returns Ok

      Parameters:
      groupCallId - Group call identifier.
      senderId - Identifier of the sender of messages to delete.
      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