Class: TD::Types::PushMessageContent::Document
- Inherits:
-
TD::Types::PushMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::PushMessageContent
- TD::Types::PushMessageContent::Document
- Defined in:
- lib/tdlib/types/push_message_content/document.rb
Overview
A document message (a general file).
Instance Attribute Summary collapse
-
#document ⇒ TD::Types::Document?
Message content; may be null.
-
#is_pinned ⇒ Boolean
True, if the message is a pinned message with the specified content.
Method Summary
Methods inherited from Base
Instance Attribute Details
#document ⇒ TD::Types::Document?
Message content; may be null.
6 7 8 |
# File 'lib/tdlib/types/push_message_content/document.rb', line 6 def document @document end |
#is_pinned ⇒ Boolean
True, if the message is a pinned message with the specified content.
6 7 8 |
# File 'lib/tdlib/types/push_message_content/document.rb', line 6 def is_pinned @is_pinned end |