Class: TD::Types::InputMessageContent::Story

Inherits:
TD::Types::InputMessageContent show all
Defined in:
lib/tdlib/types/input_message_content/story.rb

Overview

A message with a forwarded story. Stories can’t be sent to secret chats. A story can be forwarded only if story.can_be_forwarded.

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



8
9
10
# File 'lib/tdlib/types/input_message_content/story.rb', line 8

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



8
9
10
# File 'lib/tdlib/types/input_message_content/story.rb', line 8

def story_sender_chat_id
  @story_sender_chat_id
end