Class: TD::Types::ChatActiveStories
- Defined in:
- lib/tdlib/types/chat_active_stories.rb
Overview
Describes active stories posted by a chat.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Identifier of the chat that posted the stories.
-
#list ⇒ TD::Types::StoryList?
Identifier of the story list in which the stories are shown; may be null if the stories aren’t shown in a story list.
-
#max_read_story_id ⇒ Integer
Identifier of the last read active story.
-
#order ⇒ Integer
A parameter used to determine order of the stories in the story list; 0 if the stories doesn’t need to be shown in the story list.
-
#stories ⇒ Array<TD::Types::StoryInfo>
Basic information about the stories; use getStory to get full information about the stories.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
Identifier of the chat that posted the stories.
14 15 16 |
# File 'lib/tdlib/types/chat_active_stories.rb', line 14 def chat_id @chat_id end |
#list ⇒ TD::Types::StoryList?
Identifier of the story list in which the stories are shown; may be null if the stories aren’t shown in a story list.
14 15 16 |
# File 'lib/tdlib/types/chat_active_stories.rb', line 14 def list @list end |
#max_read_story_id ⇒ Integer
Identifier of the last read active story.
14 15 16 |
# File 'lib/tdlib/types/chat_active_stories.rb', line 14 def max_read_story_id @max_read_story_id end |
#order ⇒ Integer
A parameter used to determine order of the stories in the story list; 0 if the stories doesn’t need to be shown in the story list. Stories must be sorted by the pair (order, story_sender_chat_id) in descending order.
14 15 16 |
# File 'lib/tdlib/types/chat_active_stories.rb', line 14 def order @order end |
#stories ⇒ Array<TD::Types::StoryInfo>
Basic information about the stories; use getStory to get full information about the stories. The stories are in chronological order (i.e., in order of increasing story identifiers).
14 15 16 |
# File 'lib/tdlib/types/chat_active_stories.rb', line 14 def stories @stories end |