public static class TdApi.ToggleMessageSenderIsBlocked extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isBlocked
New value of isBlocked.
|
TdApi.MessageSender |
senderId
Identifier of a message sender to block/unblock.
|
Constructor and Description |
---|
ToggleMessageSenderIsBlocked()
Default constructor for a function, which changes the block state of a message sender.
|
ToggleMessageSenderIsBlocked(TdApi.MessageSender senderId,
boolean isBlocked)
Creates a function, which changes the block state of a message sender.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.MessageSender senderId
public boolean isBlocked
public static final int CONSTRUCTOR
public ToggleMessageSenderIsBlocked()
Returns Ok
public ToggleMessageSenderIsBlocked(TdApi.MessageSender senderId, boolean isBlocked)
Returns Ok
senderId
- Identifier of a message sender to block/unblock.isBlocked
- New value of isBlocked.public int getConstructor()
getConstructor
in class TdApi.Function