Class: TD::Types::MessageContent::Story
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::Story
- Defined in:
- lib/tdlib/types/message_content/story.rb
Overview
A message with a forwarded story.
Instance Attribute Summary collapse
-
#story_id ⇒ Integer
Story identifier.
-
#story_sender_chat_id ⇒ Integer
Identifier of the chat that posted the story.
-
#via_mention ⇒ Boolean
True, if the story was automatically forwarded because of a mention of the user.
Method Summary
Methods inherited from Base
Instance Attribute Details
#story_id ⇒ Integer
Story identifier.
7 8 9 |
# File 'lib/tdlib/types/message_content/story.rb', line 7 def story_id @story_id end |
#story_sender_chat_id ⇒ Integer
Identifier of the chat that posted the story.
7 8 9 |
# File 'lib/tdlib/types/message_content/story.rb', line 7 def story_sender_chat_id @story_sender_chat_id end |
#via_mention ⇒ Boolean
True, if the story was automatically forwarded because of a mention of the user.
7 8 9 |
# File 'lib/tdlib/types/message_content/story.rb', line 7 def via_mention @via_mention end |