All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.telegram.api.encrypted.file.TLAbsEncryptedFile Maven / Gradle / Ivy

The newest version!
/*
 * 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.encrypted.file;

import org.telegram.tl.TLObject;

/**
 * Abstract class that represent a file sent to a encrypted chat
 * @author Ruben Bermudez
 * @version 2.0
 * @date 11 of April of 2015
 */
public abstract class TLAbsEncryptedFile extends TLObject {

    protected long id; ///< File id

    /**
     * Instantiates a new TL abs encrypted file.
     */
    protected TLAbsEncryptedFile() {
        super();
    }

    /**
     * Gets id.
     *
     * @return the id
     */
    public long getId() {
        return this.id;
    }

    /**
     * Sets id.
     *
     * @param id the id
     */
    public void setId(long id) {
        this.id = id;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy