public static class TdApi.SetChatMemberStatus extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.MessageSender |
memberId
Member identifier.
|
TdApi.ChatMemberStatus |
status
The new status of the member in the chat.
|
Constructor and Description |
---|
SetChatMemberStatus()
Default constructor for a function, which changes the status of a chat member, needs appropriate privileges.
|
SetChatMemberStatus(long chatId,
TdApi.MessageSender memberId,
TdApi.ChatMemberStatus status)
Creates a function, which changes the status of a chat member, needs appropriate privileges.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public TdApi.MessageSender memberId
public TdApi.ChatMemberStatus status
public static final int CONSTRUCTOR
public SetChatMemberStatus()
Returns Ok
public SetChatMemberStatus(long chatId, TdApi.MessageSender memberId, TdApi.ChatMemberStatus status)
Returns Ok
chatId
- Chat identifier.memberId
- Member identifier. Chats can be only banned and unbanned in supergroups and channels.status
- The new status of the member in the chat.public int getConstructor()
getConstructor
in class TdApi.Function