UpdateSpeedLimitNotification constructor

const UpdateSpeedLimitNotification({
  1. required bool isUpload,
  2. dynamic extra,
  3. int? clientId,
})

Download or upload file speed for the user was limited, but it can be restored by subscription to Telegram Premium. The notification can be postponed until a file being downloaded or uploaded is visible to the user. Use getOption("premium_download_speedup") or getOption("premium_upload_speedup") to get expected speedup after subscription to Telegram Premium

Implementation

const UpdateSpeedLimitNotification({
  required this.isUpload,
  this.extra,
  this.clientId,
});