// GENERATED CODE - DO NOT MODIFY BY HAND

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

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

Serializer<GAuthenticateTelegramLoginData>
_$gAuthenticateTelegramLoginDataSerializer =
    _$GAuthenticateTelegramLoginDataSerializer();
Serializer<GAuthenticateTelegramLoginData_authenticateTelegramLogin>
_$gAuthenticateTelegramLoginDataAuthenticateTelegramLoginSerializer =
    _$GAuthenticateTelegramLoginData_authenticateTelegramLoginSerializer();
Serializer<GAuthenticateTelegramLoginData_authenticateTelegramLogin_user>
_$gAuthenticateTelegramLoginDataAuthenticateTelegramLoginUserSerializer =
    _$GAuthenticateTelegramLoginData_authenticateTelegramLogin_userSerializer();

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

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

    return result;
  }

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

    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 'authenticateTelegramLogin':
          result.authenticateTelegramLogin.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(
                    GAuthenticateTelegramLoginData_authenticateTelegramLogin,
                  ),
                )!
                as GAuthenticateTelegramLoginData_authenticateTelegramLogin,
          );
          break;
      }
    }

    return result.build();
  }
}

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

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

    return result;
  }

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

    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 'user':
          result.user.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(
                    GAuthenticateTelegramLoginData_authenticateTelegramLogin_user,
                  ),
                )!
                as GAuthenticateTelegramLoginData_authenticateTelegramLogin_user,
          );
          break;
      }
    }

    return result.build();
  }
}

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

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GAuthenticateTelegramLoginData_authenticateTelegramLogin_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
  GAuthenticateTelegramLoginData_authenticateTelegramLogin_user deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result =
        GAuthenticateTelegramLoginData_authenticateTelegramLogin_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 _$GAuthenticateTelegramLoginData extends GAuthenticateTelegramLoginData {
  @override
  final String G__typename;
  @override
  final GAuthenticateTelegramLoginData_authenticateTelegramLogin
  authenticateTelegramLogin;

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

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

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

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

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

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

class GAuthenticateTelegramLoginDataBuilder
    implements
        Builder<
          GAuthenticateTelegramLoginData,
          GAuthenticateTelegramLoginDataBuilder
        > {
  _$GAuthenticateTelegramLoginData? _$v;

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

  GAuthenticateTelegramLoginData_authenticateTelegramLoginBuilder?
  _authenticateTelegramLogin;
  GAuthenticateTelegramLoginData_authenticateTelegramLoginBuilder
  get authenticateTelegramLogin => _$this._authenticateTelegramLogin ??=
      GAuthenticateTelegramLoginData_authenticateTelegramLoginBuilder();
  set authenticateTelegramLogin(
    GAuthenticateTelegramLoginData_authenticateTelegramLoginBuilder?
    authenticateTelegramLogin,
  ) => _$this._authenticateTelegramLogin = authenticateTelegramLogin;

  GAuthenticateTelegramLoginDataBuilder() {
    GAuthenticateTelegramLoginData._initializeBuilder(this);
  }

  GAuthenticateTelegramLoginDataBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _authenticateTelegramLogin = $v.authenticateTelegramLogin.toBuilder();
      _$v = null;
    }
    return this;
  }

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

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

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

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

class _$GAuthenticateTelegramLoginData_authenticateTelegramLogin
    extends GAuthenticateTelegramLoginData_authenticateTelegramLogin {
  @override
  final String G__typename;
  @override
  final GAuthenticateTelegramLoginData_authenticateTelegramLogin_user user;

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

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

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

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

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

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

class GAuthenticateTelegramLoginData_authenticateTelegramLoginBuilder
    implements
        Builder<
          GAuthenticateTelegramLoginData_authenticateTelegramLogin,
          GAuthenticateTelegramLoginData_authenticateTelegramLoginBuilder
        > {
  _$GAuthenticateTelegramLoginData_authenticateTelegramLogin? _$v;

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

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

  GAuthenticateTelegramLoginData_authenticateTelegramLoginBuilder() {
    GAuthenticateTelegramLoginData_authenticateTelegramLogin._initializeBuilder(
      this,
    );
  }

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

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

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

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

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

class _$GAuthenticateTelegramLoginData_authenticateTelegramLogin_user
    extends GAuthenticateTelegramLoginData_authenticateTelegramLogin_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 _$GAuthenticateTelegramLoginData_authenticateTelegramLogin_user([
    void Function(
      GAuthenticateTelegramLoginData_authenticateTelegramLogin_userBuilder,
    )?
    updates,
  ]) =>
      (GAuthenticateTelegramLoginData_authenticateTelegramLogin_userBuilder()
            ..update(updates))
          ._build();

  _$GAuthenticateTelegramLoginData_authenticateTelegramLogin_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
  GAuthenticateTelegramLoginData_authenticateTelegramLogin_user rebuild(
    void Function(
      GAuthenticateTelegramLoginData_authenticateTelegramLogin_userBuilder,
    )
    updates,
  ) => (toBuilder()..update(updates)).build();

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

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other
            is GAuthenticateTelegramLoginData_authenticateTelegramLogin_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'GAuthenticateTelegramLoginData_authenticateTelegramLogin_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 GAuthenticateTelegramLoginData_authenticateTelegramLogin_userBuilder
    implements
        Builder<
          GAuthenticateTelegramLoginData_authenticateTelegramLogin_user,
          GAuthenticateTelegramLoginData_authenticateTelegramLogin_userBuilder
        > {
  _$GAuthenticateTelegramLoginData_authenticateTelegramLogin_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;

  GAuthenticateTelegramLoginData_authenticateTelegramLogin_userBuilder() {
    GAuthenticateTelegramLoginData_authenticateTelegramLogin_user._initializeBuilder(
      this,
    );
  }

  GAuthenticateTelegramLoginData_authenticateTelegramLogin_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(
    GAuthenticateTelegramLoginData_authenticateTelegramLogin_user other,
  ) {
    _$v =
        other
            as _$GAuthenticateTelegramLoginData_authenticateTelegramLogin_user;
  }

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

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

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

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
