Class TdApi.ReportMessageReactions
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.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
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
Identifier uniquely determining type of the object.long
Message identifier.Identifier of the sender, which added the reaction. -
Constructor Summary
ConstructorDescriptionDefault 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-