Class TdApi.DeleteMessageReactionsFromSender

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

public static class TdApi.DeleteMessageReactionsFromSender extends TdApi.Function<TdApi.Ok>
Deletes all reactions added by the specified sender on a message.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • messageId

      public long messageId
      Identifier of the message containing the reactions. Use messageProperties.canDeleteReactions to check whether the method can be used for a message.
    • senderId

      public TdApi.MessageSender senderId
      Identifier of the sender of reactions to delete.
    • CONSTRUCTOR

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

    • DeleteMessageReactionsFromSender

      public DeleteMessageReactionsFromSender()
      Default constructor for a function, which deletes all reactions added by the specified sender on a message.

      Returns Ok

    • DeleteMessageReactionsFromSender

      public DeleteMessageReactionsFromSender(long chatId, long messageId, TdApi.MessageSender senderId)
      Creates a function, which deletes all reactions added by the specified sender on a message.

      Returns Ok

      Parameters:
      chatId - Chat identifier.
      messageId - Identifier of the message containing the reactions. Use messageProperties.canDeleteReactions to check whether the method can be used for a message.
      senderId - Identifier of the sender of reactions to delete.
  • 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