public static class TdApi.BlockUser extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
userId
User identifier.
|
Constructor and Description |
---|
BlockUser()
Default constructor for a function, which adds a user to the blacklist.
|
BlockUser(int userId)
Creates a function, which adds a user to the blacklist.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int userId
public static final int CONSTRUCTOR
public BlockUser()
Returns Ok
public BlockUser(int userId)
Returns Ok
userId
- User identifier.public int getConstructor()
getConstructor
in class TdApi.Function