Package org.drinkless.tdlib
Class TdApi.ReportMessageReactions
- Enclosing class:
- TdApi
Reports reactions set on a message to the Telegram moderators. Reactions on a message can be reported only if messageProperties.canReportReactions.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.longMessage identifier.Identifier of the sender, which added the reaction. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which reports reactions set on a message to the Telegram moderators.ReportMessageReactions(long chatId, long messageId, TdApi.MessageSender senderId) Creates a function, which reports reactions set on a message to the Telegram moderators. -
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 messageIdMessage identifier. -
senderId
Identifier of the sender, which added the reaction. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ReportMessageReactions
public ReportMessageReactions()Default constructor for a function, which reports reactions set on a message to the Telegram moderators. Reactions on a message can be reported only if messageProperties.canReportReactions.Returns
Ok -
ReportMessageReactions
Creates a function, which reports reactions set on a message to the Telegram moderators. Reactions on a message can be reported only if messageProperties.canReportReactions.Returns
Ok- Parameters:
chatId- Chat identifier.messageId- Message identifier.senderId- Identifier of the sender, which added the reaction.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-