public override void deserializeBody(InputStream stream, TLContext context) { this.flags = StreamingUtils.readInt(stream); this.type = StreamingUtils.readTLObject(stream, context); this.phoneCodeHash = StreamingUtils.readTLString(stream); if ((this.flags & 2) != 0) { this.nextType = StreamingUtils.readTLObject(stream, context); } if ((this.flags & 4) != 0) { this.timeout = StreamingUtils.readInt(stream); } }
public virtual void setType(TLAbsSentCodeType type) { this.type = type; }