Package org.drinkless.tdlib
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
Deletes all reactions added by the specified sender on a message.
Returns Ok
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function
TdApi.Function.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.longIdentifier of the message containing the reactions.Identifier of the sender of reactions to delete. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which deletes all reactions added by the specified sender on a message.DeleteMessageReactionsFromSender(long chatId, long messageId, TdApi.MessageSender senderId) Creates a function, which deletes all reactions added by the specified sender on a message. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
messageId
public long messageIdIdentifier 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Function<TdApi.Ok>- Returns:
- this.CONSTRUCTOR
-