org.telegram.api.messages.stickers.setintallresult.TLMessagesStickerSetInstallResultArchive 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.api.messages.stickers.setintallresult;
import org.telegram.api.sticker.stickersetconvered.TLAbsStickerSetCovered;
import org.telegram.tl.StreamingUtils;
import org.telegram.tl.TLContext;
import org.telegram.tl.TLVector;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/**
* @author Ruben Bermudez
* @version 1.0
* @brief TODO
* @date 08 of August of 2016
*/
public class TLMessagesStickerSetInstallResultArchive extends TLAbsMessagesStickerSetInstallResult {
public static final int CLASS_ID = 0x35e410a8;
private TLVector sets;
public TLMessagesStickerSetInstallResultArchive() {
super();
}
@Override
public int getClassId() {
return CLASS_ID;
}
public TLVector getSets() {
return sets;
}
@Override
public void serializeBody(OutputStream stream) throws IOException {
StreamingUtils.writeTLVector(sets, stream);
}
@Override
public void deserializeBody(InputStream stream, TLContext context) throws IOException {
sets = StreamingUtils.readTLVector(stream, context, TLAbsStickerSetCovered.class);
}
@Override
public String toString() {
return "messages.stickerSetInstallResultArchive#35e410a8";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy