mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2025-07-13 17:46:25 +00:00
First commit: Just a collection of library sources from Github. Compiles, but doesn't work.
This commit is contained in:
37
src/org/telegram/mtproto/schedule/PreparedPackage.java
Normal file
37
src/org/telegram/mtproto/schedule/PreparedPackage.java
Normal file
@ -0,0 +1,37 @@
|
||||
package org.telegram.mtproto.schedule;
|
||||
|
||||
/**
|
||||
* Created with IntelliJ IDEA.
|
||||
* User: ex3ndr
|
||||
* 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 isHighPriority;
|
||||
}
|
||||
|
||||
public int getSeqNo() {
|
||||
return seqNo;
|
||||
}
|
||||
|
||||
public long getMessageId() {
|
||||
return messageId;
|
||||
}
|
||||
|
||||
public byte[] getContent() {
|
||||
return content;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user