public override void deserializeBody(InputStream stream, TLContext context) { this.flags = StreamingUtils.readInt(stream); this.peer = StreamingUtils.readTLObject(stream, context); if ((this.flags & 1) != 0) { this.replyToMsgId = StreamingUtils.readInt(stream); } this.media = StreamingUtils.readTLObject(stream, context); this.randomId = StreamingUtils.readLong(stream); if ((this.flags & 4) != 0) { this.replyMarkup = StreamingUtils.readTLObject(stream, context); } }
public TlFileToSend(TLAbsInputMedia r2) { _tlAbsInputMedia = r2; }
public virtual void setMedia(TLAbsInputMedia value) { this.media = value; }