pro.zackpollard.telegrambot.api.chat.ChannelChat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtelegram-botapi Show documentation
Show all versions of jtelegram-botapi Show documentation
The Java Telegram Bot API is a wrapper for the Telegram HTTP Bot API
package pro.zackpollard.telegrambot.api.chat;
/**
* @author Zack Pollard
*/
public interface ChannelChat extends Chat {
/**
* Gets the Username of the Channel that this ChannelChat object refers to
*
* @return The Username of this Channel
*/
String getUsername();
/**
* Gets the ChatType of this Chat
*
* @return The ChatType of this Chat
*/
default ChatType getType() {
return ChatType.CHANNEL;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy