Class: TD::Types::Update::HavePendingNotifications
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::HavePendingNotifications
- Defined in:
- lib/tdlib/types/update/have_pending_notifications.rb
Overview
Describes whether there are some pending notification updates. Can be used to prevent application from killing, while there are some pending notifications.
Instance Attribute Summary collapse
-
#have_delayed_notifications ⇒ Boolean
True, if there are some delayed notification updates, which will be sent soon.
-
#have_unreceived_notifications ⇒ Boolean
True, if there can be some yet unreceived notifications, which are being fetched from the server.
Method Summary
Methods inherited from Base
Instance Attribute Details
#have_delayed_notifications ⇒ Boolean
True, if there are some delayed notification updates, which will be sent soon.
9 10 11 |
# File 'lib/tdlib/types/update/have_pending_notifications.rb', line 9 def have_delayed_notifications @have_delayed_notifications end |
#have_unreceived_notifications ⇒ Boolean
True, if there can be some yet unreceived notifications, which are being fetched from the server.
9 10 11 |
# File 'lib/tdlib/types/update/have_pending_notifications.rb', line 9 def have_unreceived_notifications @have_unreceived_notifications end |