QueryHasPermissionRequest constructor

QueryHasPermissionRequest({
  1. Int64? guildId,
  2. Int64? channelId,
  3. String? checkFor,
  4. Int64? as,
})

Implementation

factory QueryHasPermissionRequest({
  $fixnum.Int64? guildId,
  $fixnum.Int64? channelId,
  $core.String? checkFor,
  $fixnum.Int64? as,
}) {
  final _result = create();
  if (guildId != null) {
    _result.guildId = guildId;
  }
  if (channelId != null) {
    _result.channelId = channelId;
  }
  if (checkFor != null) {
    _result.checkFor = checkFor;
  }
  if (as != null) {
    _result.as = as;
  }
  return _result;
}