public interface SuperGroupChat extends GroupChat
| Modifier and Type | Method and Description |
|---|---|
default ChatType |
getType()
Gets the ChatType of this Chat
|
String |
getUsername()
Gets the Username of the SuperGroup that this SuperGroupChat object refers to
|
boolean |
kickChatMember(int userId)
This method will kick and ban the User with the specified User ID from the chat if they are currently in it
|
boolean |
unbanChatMember(int userId)
This method will unban a user that was previously banned from the chat
|
isAllMembersAreAdministratorsgetBotInstance, getChatAdministrators, getChatMember, getChatMember, getChatMembersCount, getId, getName, leaveChat, sendMessage, sendMessagedefault ChatType getType()
GroupChatString getUsername()
boolean kickChatMember(int userId)
kickChatMember in interface GroupChatuserId - The User ID of the User you want to kick from the chatboolean unbanChatMember(int userId)
userId - The ID of the User you want to unbanCopyright © 2017. All rights reserved.