org.telegram.mtproto.schedule.PreparedPackage 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.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