// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'complete_telegram_bot_login.data.gql.dart';

// **************************************************************************
// BuiltValueGenerator
// **************************************************************************

Serializer<GCompleteTelegramBotLoginData>
_$gCompleteTelegramBotLoginDataSerializer =
    _$GCompleteTelegramBotLoginDataSerializer();
Serializer<GCompleteTelegramBotLoginData_completeTelegramBotLogin>
_$gCompleteTelegramBotLoginDataCompleteTelegramBotLoginSerializer =
    _$GCompleteTelegramBotLoginData_completeTelegramBotLoginSerializer();
Serializer<GCompleteTelegramBotLoginData_completeTelegramBotLogin_user>
_$gCompleteTelegramBotLoginDataCompleteTelegramBotLoginUserSerializer =
    _$GCompleteTelegramBotLoginData_completeTelegramBotLogin_userSerializer();

class _$GCompleteTelegramBotLoginDataSerializer
    implements StructuredSerializer<GCompleteTelegramBotLoginData> {
  @override
  final Iterable<Type> types = const [
    GCompleteTelegramBotLoginData,
    _$GCompleteTelegramBotLoginData,
  ];
  @override
  final String wireName = 'GCompleteTelegramBotLoginData';

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GCompleteTelegramBotLoginData object, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = <Object?>[
      '__typename',
      serializers.serialize(
        object.G__typename,
        specifiedType: const FullType(String),
      ),
      'completeTelegramBotLogin',
      serializers.serialize(
        object.completeTelegramBotLogin,
        specifiedType: const FullType(
          GCompleteTelegramBotLoginData_completeTelegramBotLogin,
        ),
      ),
    ];

    return result;
  }

  @override
  GCompleteTelegramBotLoginData deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = GCompleteTelegramBotLoginDataBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current! as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'completeTelegramBotLogin':
          result.completeTelegramBotLogin.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(
                    GCompleteTelegramBotLoginData_completeTelegramBotLogin,
                  ),
                )!
                as GCompleteTelegramBotLoginData_completeTelegramBotLogin,
          );
          break;
      }
    }

    return result.build();
  }
}

class _$GCompleteTelegramBotLoginData_completeTelegramBotLoginSerializer
    implements
        StructuredSerializer<
          GCompleteTelegramBotLoginData_completeTelegramBotLogin
        > {
  @override
  final Iterable<Type> types = const [
    GCompleteTelegramBotLoginData_completeTelegramBotLogin,
    _$GCompleteTelegramBotLoginData_completeTelegramBotLogin,
  ];
  @override
  final String wireName =
      'GCompleteTelegramBotLoginData_completeTelegramBotLogin';

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GCompleteTelegramBotLoginData_completeTelegramBotLogin object, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = <Object?>[
      '__typename',
      serializers.serialize(
        object.G__typename,
        specifiedType: const FullType(String),
      ),
      'sessionToken',
      serializers.serialize(
        object.sessionToken,
        specifiedType: const FullType(String),
      ),
      'user',
      serializers.serialize(
        object.user,
        specifiedType: const FullType(
          GCompleteTelegramBotLoginData_completeTelegramBotLogin_user,
        ),
      ),
    ];

    return result;
  }

  @override
  GCompleteTelegramBotLoginData_completeTelegramBotLogin deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result =
        GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current! as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'sessionToken':
          result.sessionToken =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'user':
          result.user.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(
                    GCompleteTelegramBotLoginData_completeTelegramBotLogin_user,
                  ),
                )!
                as GCompleteTelegramBotLoginData_completeTelegramBotLogin_user,
          );
          break;
      }
    }

    return result.build();
  }
}

class _$GCompleteTelegramBotLoginData_completeTelegramBotLogin_userSerializer
    implements
        StructuredSerializer<
          GCompleteTelegramBotLoginData_completeTelegramBotLogin_user
        > {
  @override
  final Iterable<Type> types = const [
    GCompleteTelegramBotLoginData_completeTelegramBotLogin_user,
    _$GCompleteTelegramBotLoginData_completeTelegramBotLogin_user,
  ];
  @override
  final String wireName =
      'GCompleteTelegramBotLoginData_completeTelegramBotLogin_user';

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GCompleteTelegramBotLoginData_completeTelegramBotLogin_user object, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = <Object?>[
      '__typename',
      serializers.serialize(
        object.G__typename,
        specifiedType: const FullType(String),
      ),
      'id',
      serializers.serialize(object.id, specifiedType: const FullType(String)),
      'telegramId',
      serializers.serialize(
        object.telegramId,
        specifiedType: const FullType(String),
      ),
      'isAdmin',
      serializers.serialize(
        object.isAdmin,
        specifiedType: const FullType(bool),
      ),
    ];
    Object? value;
    value = object.username;
    if (value != null) {
      result
        ..add('username')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(String)),
        );
    }
    value = object.firstName;
    if (value != null) {
      result
        ..add('firstName')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(String)),
        );
    }
    value = object.lastName;
    if (value != null) {
      result
        ..add('lastName')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(String)),
        );
    }
    value = object.photoUrl;
    if (value != null) {
      result
        ..add('photoUrl')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(String)),
        );
    }
    value = object.languageCode;
    if (value != null) {
      result
        ..add('languageCode')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(String)),
        );
    }
    return result;
  }

  @override
  GCompleteTelegramBotLoginData_completeTelegramBotLogin_user deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result =
        GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current! as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'id':
          result.id =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'telegramId':
          result.telegramId =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'username':
          result.username =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )
                  as String?;
          break;
        case 'firstName':
          result.firstName =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )
                  as String?;
          break;
        case 'lastName':
          result.lastName =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )
                  as String?;
          break;
        case 'photoUrl':
          result.photoUrl =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )
                  as String?;
          break;
        case 'languageCode':
          result.languageCode =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )
                  as String?;
          break;
        case 'isAdmin':
          result.isAdmin =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(bool),
                  )!
                  as bool;
          break;
      }
    }

    return result.build();
  }
}

class _$GCompleteTelegramBotLoginData extends GCompleteTelegramBotLoginData {
  @override
  final String G__typename;
  @override
  final GCompleteTelegramBotLoginData_completeTelegramBotLogin
  completeTelegramBotLogin;

  factory _$GCompleteTelegramBotLoginData([
    void Function(GCompleteTelegramBotLoginDataBuilder)? updates,
  ]) => (GCompleteTelegramBotLoginDataBuilder()..update(updates))._build();

  _$GCompleteTelegramBotLoginData._({
    required this.G__typename,
    required this.completeTelegramBotLogin,
  }) : super._();
  @override
  GCompleteTelegramBotLoginData rebuild(
    void Function(GCompleteTelegramBotLoginDataBuilder) updates,
  ) => (toBuilder()..update(updates)).build();

  @override
  GCompleteTelegramBotLoginDataBuilder toBuilder() =>
      GCompleteTelegramBotLoginDataBuilder()..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is GCompleteTelegramBotLoginData &&
        G__typename == other.G__typename &&
        completeTelegramBotLogin == other.completeTelegramBotLogin;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, G__typename.hashCode);
    _$hash = $jc(_$hash, completeTelegramBotLogin.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'GCompleteTelegramBotLoginData')
          ..add('G__typename', G__typename)
          ..add('completeTelegramBotLogin', completeTelegramBotLogin))
        .toString();
  }
}

class GCompleteTelegramBotLoginDataBuilder
    implements
        Builder<
          GCompleteTelegramBotLoginData,
          GCompleteTelegramBotLoginDataBuilder
        > {
  _$GCompleteTelegramBotLoginData? _$v;

  String? _G__typename;
  String? get G__typename => _$this._G__typename;
  set G__typename(String? G__typename) => _$this._G__typename = G__typename;

  GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder?
  _completeTelegramBotLogin;
  GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder
  get completeTelegramBotLogin => _$this._completeTelegramBotLogin ??=
      GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder();
  set completeTelegramBotLogin(
    GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder?
    completeTelegramBotLogin,
  ) => _$this._completeTelegramBotLogin = completeTelegramBotLogin;

  GCompleteTelegramBotLoginDataBuilder() {
    GCompleteTelegramBotLoginData._initializeBuilder(this);
  }

  GCompleteTelegramBotLoginDataBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _completeTelegramBotLogin = $v.completeTelegramBotLogin.toBuilder();
      _$v = null;
    }
    return this;
  }

  @override
  void replace(GCompleteTelegramBotLoginData other) {
    _$v = other as _$GCompleteTelegramBotLoginData;
  }

  @override
  void update(void Function(GCompleteTelegramBotLoginDataBuilder)? updates) {
    if (updates != null) updates(this);
  }

  @override
  GCompleteTelegramBotLoginData build() => _build();

  _$GCompleteTelegramBotLoginData _build() {
    _$GCompleteTelegramBotLoginData _$result;
    try {
      _$result =
          _$v ??
          _$GCompleteTelegramBotLoginData._(
            G__typename: BuiltValueNullFieldError.checkNotNull(
              G__typename,
              r'GCompleteTelegramBotLoginData',
              'G__typename',
            ),
            completeTelegramBotLogin: completeTelegramBotLogin.build(),
          );
    } catch (_) {
      late String _$failedField;
      try {
        _$failedField = 'completeTelegramBotLogin';
        completeTelegramBotLogin.build();
      } catch (e) {
        throw BuiltValueNestedFieldError(
          r'GCompleteTelegramBotLoginData',
          _$failedField,
          e.toString(),
        );
      }
      rethrow;
    }
    replace(_$result);
    return _$result;
  }
}

class _$GCompleteTelegramBotLoginData_completeTelegramBotLogin
    extends GCompleteTelegramBotLoginData_completeTelegramBotLogin {
  @override
  final String G__typename;
  @override
  final String sessionToken;
  @override
  final GCompleteTelegramBotLoginData_completeTelegramBotLogin_user user;

  factory _$GCompleteTelegramBotLoginData_completeTelegramBotLogin([
    void Function(
      GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder,
    )?
    updates,
  ]) =>
      (GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder()
            ..update(updates))
          ._build();

  _$GCompleteTelegramBotLoginData_completeTelegramBotLogin._({
    required this.G__typename,
    required this.sessionToken,
    required this.user,
  }) : super._();
  @override
  GCompleteTelegramBotLoginData_completeTelegramBotLogin rebuild(
    void Function(GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder)
    updates,
  ) => (toBuilder()..update(updates)).build();

  @override
  GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder toBuilder() =>
      GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder()
        ..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is GCompleteTelegramBotLoginData_completeTelegramBotLogin &&
        G__typename == other.G__typename &&
        sessionToken == other.sessionToken &&
        user == other.user;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, G__typename.hashCode);
    _$hash = $jc(_$hash, sessionToken.hashCode);
    _$hash = $jc(_$hash, user.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(
            r'GCompleteTelegramBotLoginData_completeTelegramBotLogin',
          )
          ..add('G__typename', G__typename)
          ..add('sessionToken', sessionToken)
          ..add('user', user))
        .toString();
  }
}

class GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder
    implements
        Builder<
          GCompleteTelegramBotLoginData_completeTelegramBotLogin,
          GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder
        > {
  _$GCompleteTelegramBotLoginData_completeTelegramBotLogin? _$v;

  String? _G__typename;
  String? get G__typename => _$this._G__typename;
  set G__typename(String? G__typename) => _$this._G__typename = G__typename;

  String? _sessionToken;
  String? get sessionToken => _$this._sessionToken;
  set sessionToken(String? sessionToken) => _$this._sessionToken = sessionToken;

  GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder? _user;
  GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder get user =>
      _$this._user ??=
          GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder();
  set user(
    GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder? user,
  ) => _$this._user = user;

  GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder() {
    GCompleteTelegramBotLoginData_completeTelegramBotLogin._initializeBuilder(
      this,
    );
  }

  GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _sessionToken = $v.sessionToken;
      _user = $v.user.toBuilder();
      _$v = null;
    }
    return this;
  }

  @override
  void replace(GCompleteTelegramBotLoginData_completeTelegramBotLogin other) {
    _$v = other as _$GCompleteTelegramBotLoginData_completeTelegramBotLogin;
  }

  @override
  void update(
    void Function(
      GCompleteTelegramBotLoginData_completeTelegramBotLoginBuilder,
    )?
    updates,
  ) {
    if (updates != null) updates(this);
  }

  @override
  GCompleteTelegramBotLoginData_completeTelegramBotLogin build() => _build();

  _$GCompleteTelegramBotLoginData_completeTelegramBotLogin _build() {
    _$GCompleteTelegramBotLoginData_completeTelegramBotLogin _$result;
    try {
      _$result =
          _$v ??
          _$GCompleteTelegramBotLoginData_completeTelegramBotLogin._(
            G__typename: BuiltValueNullFieldError.checkNotNull(
              G__typename,
              r'GCompleteTelegramBotLoginData_completeTelegramBotLogin',
              'G__typename',
            ),
            sessionToken: BuiltValueNullFieldError.checkNotNull(
              sessionToken,
              r'GCompleteTelegramBotLoginData_completeTelegramBotLogin',
              'sessionToken',
            ),
            user: user.build(),
          );
    } catch (_) {
      late String _$failedField;
      try {
        _$failedField = 'user';
        user.build();
      } catch (e) {
        throw BuiltValueNestedFieldError(
          r'GCompleteTelegramBotLoginData_completeTelegramBotLogin',
          _$failedField,
          e.toString(),
        );
      }
      rethrow;
    }
    replace(_$result);
    return _$result;
  }
}

class _$GCompleteTelegramBotLoginData_completeTelegramBotLogin_user
    extends GCompleteTelegramBotLoginData_completeTelegramBotLogin_user {
  @override
  final String G__typename;
  @override
  final String id;
  @override
  final String telegramId;
  @override
  final String? username;
  @override
  final String? firstName;
  @override
  final String? lastName;
  @override
  final String? photoUrl;
  @override
  final String? languageCode;
  @override
  final bool isAdmin;

  factory _$GCompleteTelegramBotLoginData_completeTelegramBotLogin_user([
    void Function(
      GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder,
    )?
    updates,
  ]) =>
      (GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder()
            ..update(updates))
          ._build();

  _$GCompleteTelegramBotLoginData_completeTelegramBotLogin_user._({
    required this.G__typename,
    required this.id,
    required this.telegramId,
    this.username,
    this.firstName,
    this.lastName,
    this.photoUrl,
    this.languageCode,
    required this.isAdmin,
  }) : super._();
  @override
  GCompleteTelegramBotLoginData_completeTelegramBotLogin_user rebuild(
    void Function(
      GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder,
    )
    updates,
  ) => (toBuilder()..update(updates)).build();

  @override
  GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder
  toBuilder() =>
      GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder()
        ..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other
            is GCompleteTelegramBotLoginData_completeTelegramBotLogin_user &&
        G__typename == other.G__typename &&
        id == other.id &&
        telegramId == other.telegramId &&
        username == other.username &&
        firstName == other.firstName &&
        lastName == other.lastName &&
        photoUrl == other.photoUrl &&
        languageCode == other.languageCode &&
        isAdmin == other.isAdmin;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, G__typename.hashCode);
    _$hash = $jc(_$hash, id.hashCode);
    _$hash = $jc(_$hash, telegramId.hashCode);
    _$hash = $jc(_$hash, username.hashCode);
    _$hash = $jc(_$hash, firstName.hashCode);
    _$hash = $jc(_$hash, lastName.hashCode);
    _$hash = $jc(_$hash, photoUrl.hashCode);
    _$hash = $jc(_$hash, languageCode.hashCode);
    _$hash = $jc(_$hash, isAdmin.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(
            r'GCompleteTelegramBotLoginData_completeTelegramBotLogin_user',
          )
          ..add('G__typename', G__typename)
          ..add('id', id)
          ..add('telegramId', telegramId)
          ..add('username', username)
          ..add('firstName', firstName)
          ..add('lastName', lastName)
          ..add('photoUrl', photoUrl)
          ..add('languageCode', languageCode)
          ..add('isAdmin', isAdmin))
        .toString();
  }
}

class GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder
    implements
        Builder<
          GCompleteTelegramBotLoginData_completeTelegramBotLogin_user,
          GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder
        > {
  _$GCompleteTelegramBotLoginData_completeTelegramBotLogin_user? _$v;

  String? _G__typename;
  String? get G__typename => _$this._G__typename;
  set G__typename(String? G__typename) => _$this._G__typename = G__typename;

  String? _id;
  String? get id => _$this._id;
  set id(String? id) => _$this._id = id;

  String? _telegramId;
  String? get telegramId => _$this._telegramId;
  set telegramId(String? telegramId) => _$this._telegramId = telegramId;

  String? _username;
  String? get username => _$this._username;
  set username(String? username) => _$this._username = username;

  String? _firstName;
  String? get firstName => _$this._firstName;
  set firstName(String? firstName) => _$this._firstName = firstName;

  String? _lastName;
  String? get lastName => _$this._lastName;
  set lastName(String? lastName) => _$this._lastName = lastName;

  String? _photoUrl;
  String? get photoUrl => _$this._photoUrl;
  set photoUrl(String? photoUrl) => _$this._photoUrl = photoUrl;

  String? _languageCode;
  String? get languageCode => _$this._languageCode;
  set languageCode(String? languageCode) => _$this._languageCode = languageCode;

  bool? _isAdmin;
  bool? get isAdmin => _$this._isAdmin;
  set isAdmin(bool? isAdmin) => _$this._isAdmin = isAdmin;

  GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder() {
    GCompleteTelegramBotLoginData_completeTelegramBotLogin_user._initializeBuilder(
      this,
    );
  }

  GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder
  get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _id = $v.id;
      _telegramId = $v.telegramId;
      _username = $v.username;
      _firstName = $v.firstName;
      _lastName = $v.lastName;
      _photoUrl = $v.photoUrl;
      _languageCode = $v.languageCode;
      _isAdmin = $v.isAdmin;
      _$v = null;
    }
    return this;
  }

  @override
  void replace(
    GCompleteTelegramBotLoginData_completeTelegramBotLogin_user other,
  ) {
    _$v =
        other as _$GCompleteTelegramBotLoginData_completeTelegramBotLogin_user;
  }

  @override
  void update(
    void Function(
      GCompleteTelegramBotLoginData_completeTelegramBotLogin_userBuilder,
    )?
    updates,
  ) {
    if (updates != null) updates(this);
  }

  @override
  GCompleteTelegramBotLoginData_completeTelegramBotLogin_user build() =>
      _build();

  _$GCompleteTelegramBotLoginData_completeTelegramBotLogin_user _build() {
    final _$result =
        _$v ??
        _$GCompleteTelegramBotLoginData_completeTelegramBotLogin_user._(
          G__typename: BuiltValueNullFieldError.checkNotNull(
            G__typename,
            r'GCompleteTelegramBotLoginData_completeTelegramBotLogin_user',
            'G__typename',
          ),
          id: BuiltValueNullFieldError.checkNotNull(
            id,
            r'GCompleteTelegramBotLoginData_completeTelegramBotLogin_user',
            'id',
          ),
          telegramId: BuiltValueNullFieldError.checkNotNull(
            telegramId,
            r'GCompleteTelegramBotLoginData_completeTelegramBotLogin_user',
            'telegramId',
          ),
          username: username,
          firstName: firstName,
          lastName: lastName,
          photoUrl: photoUrl,
          languageCode: languageCode,
          isAdmin: BuiltValueNullFieldError.checkNotNull(
            isAdmin,
            r'GCompleteTelegramBotLoginData_completeTelegramBotLogin_user',
            'isAdmin',
          ),
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
