Module tdlight.api

Class TdApi.ReportMessageReactions

Enclosing class:
TdApi

public static final class TdApi.ReportMessageReactions extends TdApi.Function<TdApi.Ok>
Reports reactions set on a message to the Telegram moderators. Reactions on a message can be reported only if message.canReportReactions. Returns Ok
  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • messageId

      public long messageId
      Message identifier.
    • senderId

      public TdApi.MessageSender senderId
      Identifier of the sender, which added the reaction.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ReportMessageReactions

      public ReportMessageReactions()
      Reports reactions set on a message to the Telegram moderators. Reactions on a message can be reported only if message.canReportReactions. Returns Ok
    • ReportMessageReactions

      public ReportMessageReactions(long chatId, long messageId, TdApi.MessageSender senderId)
      Reports reactions set on a message to the Telegram moderators. Reactions on a message can be reported only if message.canReportReactions. Returns Ok
      Parameters:
      chatId - long Chat identifier.
      messageId - long Message identifier.
      senderId - MessageSender Identifier of the sender, which added the reaction.
    • ReportMessageReactions

      public ReportMessageReactions(DataInput input) throws IOException
      Reports reactions set on a message to the Telegram moderators. Reactions on a message can be reported only if message.canReportReactions. Returns Ok
      Throws:
      IOException
  • Method Details