TLRPC$TL_updateChannelTooLong.smali

.class public Lim/tpelyyftgw/tgnet/TLRPC$TL_updateChannelTooLong;
.super Lim/tpelyyftgw/tgnet/TLRPC$Update;
.source "TLRPC.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lim/tpelyyftgw/tgnet/TLRPC;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "TL_updateChannelTooLong"
.end annotation


# static fields
.field public static constructor:I


# instance fields
.field public channel_id:I

.field public flags:I

.field public pts:I


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .line 20131
    const v0, -0x14fb9805

    sput v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_updateChannelTooLong;->constructor:I

    return-void
.end method

.method public constructor <init>()V
    .registers 1

    .line 20130
    invoke-direct {p0}, Lim/tpelyyftgw/tgnet/TLRPC$Update;-><init>()V

    return-void
.end method


# virtual methods
.method public readParams(Lim/tpelyyftgw/tgnet/AbstractSerializedData;Z)V
    .registers 4
    .param p1, "stream"    # Lim/tpelyyftgw/tgnet/AbstractSerializedData;
    .param p2, "exception"    # Z

    .line 20138
    invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_updateChannelTooLong;->flags:I

    .line 20139
    invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_updateChannelTooLong;->channel_id:I

    .line 20140
    iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_updateChannelTooLong;->flags:I

    and-int/lit8 v0, v0, 0x1

    if-eqz v0, :cond_18

    .line 20141
    invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_updateChannelTooLong;->pts:I

    .line 20143
    :cond_18
    return-void
.end method

.method public serializeToStream(Lim/tpelyyftgw/tgnet/AbstractSerializedData;)V
    .registers 3
    .param p1, "stream"    # Lim/tpelyyftgw/tgnet/AbstractSerializedData;

    .line 20146
    sget v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_updateChannelTooLong;->constructor:I

    invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V

    .line 20147
    iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_updateChannelTooLong;->flags:I

    invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V

    .line 20148
    iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_updateChannelTooLong;->channel_id:I

    invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V

    .line 20149
    iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_updateChannelTooLong;->flags:I

    and-int/lit8 v0, v0, 0x1

    if-eqz v0, :cond_1a

    .line 20150
    iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_updateChannelTooLong;->pts:I

    invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V

    .line 20152
    :cond_1a
    return-void
.end method