org.telegram.api.chat.TLAbsChat 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
/*
* This is the source code of Telegram Bot v. 2.0
* It is licensed under GNU GPL v. 3 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Ruben Bermudez, 13/11/14.
*/
package org.telegram.api.chat;
import org.telegram.tl.TLObject;
/**
* Abstract class to represent a chat
* @author Ruben Bermudez
* @version 2.0
* @date 02 of May of 2015
*/
public abstract class TLAbsChat extends TLObject {
protected int id; ///< chat id
/**
* Instantiates a new TL abs chat.
*/
protected TLAbsChat() {
super();
}
/**
* Gets id.
*
* @return the id
*/
public int getId() {
return this.id;
}
/**
* Sets id.
*
* @param id the id
*/
public void setId(int id) {
this.id = id;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy