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

org.telegram.mtproto.schedule.PreparedPackage Maven / Gradle / Ivy

There is a newer version: 66.2
Show newest version
package org.telegram.mtproto.schedule;

/**
 * Created with IntelliJ IDEA.
 * User: Ruben Bermudez
 * Date: 03.11.13
 * Time: 19:59
 */
public class PreparedPackage {
    private boolean isHighPriority;
    private int seqNo;
    private long messageId;
    private byte[] content;

    public PreparedPackage(int seqNo, long messageId, byte[] content, boolean isHighPriority) {
        this.seqNo = seqNo;
        this.messageId = messageId;
        this.content = content;
        this.isHighPriority = isHighPriority;
    }

    public boolean isHighPriority() {
        return this.isHighPriority;
    }

    public int getSeqNo() {
        return this.seqNo;
    }

    public long getMessageId() {
        return this.messageId;
    }

    public byte[] getContent() {
        return this.content;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy