TLRPCContacts$NotifyMsgInputMedia.smali

.class public Lim/tpelyyftgw/tgnet/TLRPCContacts$NotifyMsgInputMedia;
.super Lim/tpelyyftgw/tgnet/TLRPCContacts$NotifyMsg;
.source "TLRPCContacts.java"


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

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


# instance fields
.field public constructor:I

.field public media:Lim/tpelyyftgw/tgnet/TLRPC$InputMedia;


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

    return-void
.end method

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

    .line 1651
    invoke-direct {p0}, Lim/tpelyyftgw/tgnet/TLRPCContacts$NotifyMsg;-><init>()V

    .line 1652
    const v0, 0x3799cbf2

    iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$NotifyMsgInputMedia;->constructor:I

    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 1667
    invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$NotifyMsgInputMedia;->seq:I

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

    move-result v0

    invoke-static {p1, v0, p2}, Lim/tpelyyftgw/tgnet/TLRPC$InputMedia;->TLdeserialize(Lim/tpelyyftgw/tgnet/AbstractSerializedData;IZ)Lim/tpelyyftgw/tgnet/TLRPC$InputMedia;

    move-result-object v0

    iput-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$NotifyMsgInputMedia;->media:Lim/tpelyyftgw/tgnet/TLRPC$InputMedia;

    .line 1669
    return-void
.end method

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

    .line 1657
    iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$NotifyMsgInputMedia;->constructor:I

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

    .line 1658
    iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$NotifyMsgInputMedia;->seq:I

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

    .line 1659
    iget-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$NotifyMsgInputMedia;->media:Lim/tpelyyftgw/tgnet/TLRPC$InputMedia;

    if-eqz v0, :cond_11

    .line 1660
    invoke-virtual {v0, p1}, Lim/tpelyyftgw/tgnet/TLRPC$InputMedia;->serializeToStream(Lim/tpelyyftgw/tgnet/AbstractSerializedData;)V

    .line 1662
    :cond_11
    return-void
.end method