public static class TdApi.SetMessageSenderBlockList extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
TdApi.BlockList |
blockList
New block list for the message sender; pass null to unblock the message sender.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.MessageSender |
senderId
Identifier of a message sender to block/unblock.
|
| Constructor and Description |
|---|
SetMessageSenderBlockList()
Default constructor for a function, which changes the block list of a message sender.
|
SetMessageSenderBlockList(TdApi.MessageSender senderId,
TdApi.BlockList blockList)
Creates a function, which changes the block list of a message sender.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.MessageSender senderId
public TdApi.BlockList blockList
public static final int CONSTRUCTOR
public SetMessageSenderBlockList()
Returns Ok
public SetMessageSenderBlockList(TdApi.MessageSender senderId, TdApi.BlockList blockList)
Returns Ok
senderId - Identifier of a message sender to block/unblock.blockList - New block list for the message sender; pass null to unblock the message sender.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object