예제 #1
0
        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);
        }
예제 #2
0
        public override TLObject FromBytes(byte[] bytes, ref int position)
        {
            bytes.ThrowExceptionIfIncorrect(ref position, Signature);

            Geo = GetObject <TLGeoPointBase>(bytes, ref position);

            return(this);
        }
예제 #3
0
        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);
        }
예제 #4
0
        public override TLObject FromStream(Stream input)
        {
            Geo = GetObject <TLGeoPointBase>(input);

            return(this);
        }