public override TLObject FromStream(Stream input)
        {
            Id          = GetObject <TLString>(input);
            ShortName   = GetObject <TLString>(input);
            SendMessage = GetObject <TLInputBotInlineMessageBase>(input);

            return(this);
        }
        public override TLObject FromStream(Stream input)
        {
            Flags = GetObject <TLInt>(input);
            Id    = GetObject <TLString>(input);
            Type  = GetObject <TLString>(input);
            if (IsSet(Flags, (int)InputBotInlineResultFlags.Title))
            {
                Title = GetObject <TLString>(input);
            }
            if (IsSet(Flags, (int)InputBotInlineResultFlags.Description))
            {
                Description = GetObject <TLString>(input);
            }
            Document    = GetObject <TLInputDocumentBase>(input);
            SendMessage = GetObject <TLInputBotInlineMessageBase>(input);

            return(this);
        }
        public override TLObject FromStream(Stream input)
        {
            Flags = GetObject <TLInt>(input);
            Id    = GetObject <TLString>(input);
            Type  = GetObject <TLString>(input);
            if (IsSet(Flags, (int)InputBotInlineResultFlags.Title))
            {
                Title = GetObject <TLString>(input);
            }
            if (IsSet(Flags, (int)InputBotInlineResultFlags.Description))
            {
                Description = GetObject <TLString>(input);
            }
            if (IsSet(Flags, (int)InputBotInlineResultFlags.Url))
            {
                Url = GetObject <TLString>(input);
            }
            if (IsSet(Flags, (int)InputBotInlineResultFlags.Thumb))
            {
                ThumbUrl = GetObject <TLString>(input);
            }
            if (IsSet(Flags, (int)InputBotInlineResultFlags.Content))
            {
                ContentUrl  = GetObject <TLString>(input);
                ContentType = GetObject <TLString>(input);
            }
            if (IsSet(Flags, (int)InputBotInlineResultFlags.Size))
            {
                W = GetObject <TLInt>(input);
                H = GetObject <TLInt>(input);
            }
            if (IsSet(Flags, (int)InputBotInlineResultFlags.Duration))
            {
                Duration = GetObject <TLInt>(input);
            }
            SendMessage = GetObject <TLInputBotInlineMessageBase>(input);

            return(this);
        }