Class TdApi.ToggleMessageSenderIsBlocked

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.ToggleMessageSenderIsBlocked
Enclosing class:
TdApi

public static class TdApi.ToggleMessageSenderIsBlocked
extends TdApi.Function
Changes the block state of a message sender. Currently, only users and supergroup chats can be blocked.

Returns Ok

  • Field Details

    • sender

      public TdApi.MessageSender sender
      Message Sender.
    • isBlocked

      public boolean isBlocked
      New value of isBlocked.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • ToggleMessageSenderIsBlocked

      public ToggleMessageSenderIsBlocked()
      Changes the block state of a message sender. Currently, only users and supergroup chats can be blocked.

      Returns Ok

    • ToggleMessageSenderIsBlocked

      public ToggleMessageSenderIsBlocked​(TdApi.MessageSender sender, boolean isBlocked)
      Changes the block state of a message sender. Currently, only users and supergroup chats can be blocked.

      Returns Ok

      Parameters:
      sender - MessageSender Message Sender.
      isBlocked - boolean New value of isBlocked.
    • ToggleMessageSenderIsBlocked

      public ToggleMessageSenderIsBlocked​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details