Class: TD::Types::StoryInfo

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/story_info.rb

Overview

Contains basic information about a story.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#date ⇒ Integer

Point in time (Unix timestamp) when the story was published.

Returns:

  • (Integer) —

    the current value of date



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

def date
  @date
end

#is_for_close_friends ⇒ Boolean

True, if the story is available only to close friends.

Returns:

  • (Boolean) —

    the current value of is_for_close_friends



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

def is_for_close_friends
  @is_for_close_friends
end

#story_id ⇒ Integer

Unique story identifier among stories of the given sender.

Returns:

  • (Integer) —

    the current value of story_id



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

def story_id
  @story_id
end