Module tdlight.api

Class TdApi.BlockMessageSenderFromReplies

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.BlockMessageSenderFromReplies
Enclosing class:
TdApi

public static final class TdApi.BlockMessageSenderFromReplies extends TdApi.Function<TdApi.Ok>
Blocks an original sender of a message in the Replies chat. Returns Ok
  • Field Details

    • messageId

      public long messageId
      The identifier of an incoming message in the Replies chat.
    • deleteMessage

      public boolean deleteMessage
      Pass true to delete the message.
    • deleteAllMessages

      public boolean deleteAllMessages
      Pass true to delete all messages from the same sender.
    • reportSpam

      public boolean reportSpam
      Pass true to report the sender to the Telegram moderators.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • BlockMessageSenderFromReplies

      public BlockMessageSenderFromReplies()
      Blocks an original sender of a message in the Replies chat. Returns Ok
    • BlockMessageSenderFromReplies

      public BlockMessageSenderFromReplies(long messageId, boolean deleteMessage, boolean deleteAllMessages, boolean reportSpam)
      Blocks an original sender of a message in the Replies chat. Returns Ok
      Parameters:
      messageId - long The identifier of an incoming message in the Replies chat.
      deleteMessage - boolean Pass true to delete the message.
      deleteAllMessages - boolean Pass true to delete all messages from the same sender.
      reportSpam - boolean Pass true to report the sender to the Telegram moderators.
    • BlockMessageSenderFromReplies

      public BlockMessageSenderFromReplies(DataInput input) throws IOException
      Blocks an original sender of a message in the Replies chat. Returns Ok
      Throws:
      IOException
  • Method Details