Class: TD::Types::PushMessageContent::Text
- Inherits:
-
TD::Types::PushMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::PushMessageContent
- TD::Types::PushMessageContent::Text
- Defined in:
- lib/tdlib/types/push_message_content/text.rb
Overview
A text message.
Instance Attribute Summary collapse
-
#is_pinned ⇒ Boolean
True, if the message is a pinned message with the specified content.
-
#text ⇒ TD::Types::String
Message text.
Method Summary
Methods inherited from Base
Instance Attribute Details
#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/text.rb', line 6 def is_pinned @is_pinned end |
#text ⇒ TD::Types::String
Message text.
6 7 8 |
# File 'lib/tdlib/types/push_message_content/text.rb', line 6 def text @text end |