Class: TD::Types::Update::SpeedLimitNotification
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::SpeedLimitNotification
- Defined in:
- lib/tdlib/types/update/speed_limit_notification.rb
Overview
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 being downloaded or uploaded file is visible to the user Use
getOption("premium_download_speedup") or getOption("premium_upload_speedup") to get expected speedup after subscription
to Telegram Premium.
Instance Attribute Summary collapse
-
#is_upload ⇒ Boolean
True, if upload speed was limited; false, if download speed was limited.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_upload ⇒ Boolean
True, if upload speed was limited; false, if download speed was limited.
8 9 10 |
# File 'lib/tdlib/types/update/speed_limit_notification.rb', line 8 def is_upload @is_upload end |