Class: TD::Types::MessageContent::Story

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/story.rb

Overview

A message with a forwarded story.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#story_idInteger

Story identifier.

Returns:

  • (Integer)

    the current value of story_id



7
8
9
# File 'lib/tdlib/types/message_content/story.rb', line 7

def story_id
  @story_id
end

#story_sender_chat_idInteger

Identifier of the chat that posted the story.

Returns:

  • (Integer)

    the current value of story_sender_chat_id



7
8
9
# File 'lib/tdlib/types/message_content/story.rb', line 7

def story_sender_chat_id
  @story_sender_chat_id
end

#via_mentionBoolean

True, if the story was automatically forwarded because of a mention of the user.

Returns:

  • (Boolean)

    the current value of via_mention



7
8
9
# File 'lib/tdlib/types/message_content/story.rb', line 7

def via_mention
  @via_mention
end