canSetChannelCooldown property

bool get canSetChannelCooldown

True, if the current user can enable or disable slow mode.

Implementation

bool get canSetChannelCooldown {
  return ownCapabilities.contains(ChannelCapability.setChannelCooldown);
}