Class: TD::Types::NotificationType::NewPushMessage
- Inherits:
-
TD::Types::NotificationType
- Object
- Dry::Struct
- Base
- TD::Types::NotificationType
- TD::Types::NotificationType::NewPushMessage
- Defined in:
- lib/tdlib/types/notification_type/new_push_message.rb
Overview
New message was received through a push notification.
Instance Attribute Summary collapse
-
#content ⇒ TD::Types::PushMessageContent
Push message content.
-
#message_id ⇒ Integer
The message identifier.
-
#sender_user_id ⇒ Integer
Sender of the message.
Method Summary
Methods inherited from Base
Instance Attribute Details
#content ⇒ TD::Types::PushMessageContent
Push message content.
10 11 12 |
# File 'lib/tdlib/types/notification_type/new_push_message.rb', line 10 def content @content end |
#message_id ⇒ Integer
The message identifier. The message will not be available in the chat history, but the ID can be used in viewMessages and as reply_to_message_id.
10 11 12 |
# File 'lib/tdlib/types/notification_type/new_push_message.rb', line 10 def @message_id end |
#sender_user_id ⇒ Integer
Sender of the message. Corresponding user may be inaccessible.
10 11 12 |
# File 'lib/tdlib/types/notification_type/new_push_message.rb', line 10 def sender_user_id @sender_user_id end |