pro.zackpollard.telegrambot.api.chat.message.content.NewChatParticipantContent Maven / Gradle / Ivy
package pro.zackpollard.telegrambot.api.chat.message.content;
import pro.zackpollard.telegrambot.api.user.User;
/**
* @author Zack Pollard
*/
public interface NewChatParticipantContent extends Content {
/**
* Gets the new participant in the chat
*
* @return The new participant, or null if there was no new participant
*/
User getContent();
@Override
default ContentType getType() {
return ContentType.NEW_CHAT_PARTICIPANT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy