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

#dateInteger

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_friendsBoolean

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_idInteger

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