org.telegram.bot.structure.Chat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegramapi Show documentation
Show all versions of telegramapi Show documentation
Java library to create Telegram Clients
package org.telegram.bot.structure;
/**
* @author Ruben Bermudez
* @version 1.0
*/
public interface Chat {
/**
* Returns chat id
* @return Id of the chat
*/
int getId();
/**
* Returns chat access hash
* @return Access hash of this chat
*/
Long getAccessHash();
/**
* Returns true if the chat is a channel, false otherwise
* @return true if the chat is a channel, false otherwise
*/
boolean isChannel();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy