Class: TD::Types::Notification
- Defined in:
- lib/tdlib/types/notification.rb
Overview
Contains information about a notification.
Instance Attribute Summary collapse
-
#date ⇒ Integer
Notification date.
-
#id ⇒ Integer
Unique persistent identifier of this notification.
-
#is_silent ⇒ Boolean
True, if the notification was initially silent.
-
#type ⇒ TD::Types::NotificationType
Notification type.
Method Summary
Methods inherited from Base
Instance Attribute Details
#date ⇒ Integer
Notification date.
8 9 10 |
# File 'lib/tdlib/types/notification.rb', line 8 def date @date end |
#id ⇒ Integer
Unique persistent identifier of this notification.
8 9 10 |
# File 'lib/tdlib/types/notification.rb', line 8 def id @id end |
#is_silent ⇒ Boolean
True, if the notification was initially silent.
8 9 10 |
# File 'lib/tdlib/types/notification.rb', line 8 def is_silent @is_silent end |
#type ⇒ TD::Types::NotificationType
Notification type.
8 9 10 |
# File 'lib/tdlib/types/notification.rb', line 8 def type @type end |