public override TLObject FromStream(Stream input) { Flags = GetObject <TLInt>(input); GeoPoint = GetObject <TLGeoPointBase>(input); ReplyMarkup = GetObject <TLReplyKeyboardBase>(Flags, (int)InputBotInlineMessageFlags.ReplyMarkup, null, input); return(this); }
public override TLObject FromBytes(byte[] bytes, ref int position) { bytes.ThrowExceptionIfIncorrect(ref position, Signature); Geo = GetObject <TLGeoPointBase>(bytes, ref position); return(this); }
public override TLObject FromBytes(byte[] bytes, ref int position) { bytes.ThrowExceptionIfIncorrect(ref position, Signature); Flags = GetObject <TLInt>(bytes, ref position); Geo = GetObject <TLGeoPointBase>(bytes, ref position); ReplyMarkup = GetObject <TLReplyKeyboardBase>(Flags, (int)BotInlineMessageFlags.ReplyMarkup, null, bytes, ref position); return(this); }
public override TLObject FromStream(Stream input) { Geo = GetObject <TLGeoPointBase>(input); return(this); }