Add string for left chat member
This commit is contained in:
parent
990eba4bff
commit
aeb257b04c
@ -66,8 +66,10 @@ public class Utils {
|
||||
return "(Picture file)";
|
||||
} else if(message.getDocument() != null){
|
||||
return "(Document file)";
|
||||
} else if(message.getNewChatMember() != null){
|
||||
} else if(message.getNewChatMember() != null) {
|
||||
return String.format("[New member %s]", getSender(message.getNewChatMember()));
|
||||
} else if(message.getLeftChatMember() != null) {
|
||||
return String.format("[Member left %s]", getSender(message.getNewChatMember()));
|
||||
} else if(message.getNewChatTitle() != null){
|
||||
return String.format("[New chat title '%s']", message.getNewChatTitle());
|
||||
}
|
||||
|
Reference in New Issue
Block a user