Class: TD::Types::InputStoryAreas

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

Overview

Contains a list of story areas to be added.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#areasArray<TD::Types::InputStoryArea>

List of input story areas. Currently, a story can have up to 10 inputStoryAreaTypeLocation, inputStoryAreaTypeFoundVenue, and TD::Types::InputStoryAreaType::PreviousVenue areas, up to getOption(“story_suggested_reaction_area_count_max”) TD::Types::InputStoryAreaType::SuggestedReaction areas, up to 1 TD::Types::InputStoryAreaType::Message area, up to getOption(“story_link_area_count_max”) TD::Types::InputStoryAreaType::Link areas if the current user is a Telegram Premium user, and up to 3 TD::Types::InputStoryAreaType::Weather areas.

Returns:



10
11
12
# File 'lib/tdlib/types/input_story_areas.rb', line 10

def areas
  @areas
end