tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::inputStoryAreas Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::inputStoryAreas:
td::td_api::Object td::TlObject

Public Member Functions

 inputStoryAreas ()
 
 inputStoryAreas (array< object_ptr< inputStoryArea > > &&areas_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

array< object_ptr< inputStoryArea > > areas_
 List of input story areas. Currently, a story can have up to 10 inputStoryAreaTypeLocation, inputStoryAreaTypeFoundVenue, and inputStoryAreaTypePreviousVenue areas, up to getOption("story_suggested_reaction_area_count_max") inputStoryAreaTypeSuggestedReaction areas, up to 1 inputStoryAreaTypeMessage area, up to getOption("story_link_area_count_max") inputStoryAreaTypeLink areas if the current user is a Telegram Premium user, up to 3 inputStoryAreaTypeWeather areas, and up to 1 inputStoryAreaTypeUpgradedGift area.
 

Static Public Attributes

static const std::int32_t ID = -883247088
 Identifier uniquely determining a type of the object.
 

Detailed Description

Contains a list of story areas to be added.

Definition at line 31945 of file td_api.h.

Constructor & Destructor Documentation

◆ inputStoryAreas() [1/2]

td::td_api::inputStoryAreas::inputStoryAreas ( )

Contains a list of story areas to be added.

◆ inputStoryAreas() [2/2]

td::td_api::inputStoryAreas::inputStoryAreas ( array< object_ptr< inputStoryArea > > &&  areas_)
explicit

Contains a list of story areas to be added.

Parameters
[in]areas_List of input story areas. Currently, a story can have up to 10 inputStoryAreaTypeLocation, inputStoryAreaTypeFoundVenue, and inputStoryAreaTypePreviousVenue areas, up to getOption("story_suggested_reaction_area_count_max") inputStoryAreaTypeSuggestedReaction areas, up to 1 inputStoryAreaTypeMessage area, up to getOption("story_link_area_count_max") inputStoryAreaTypeLink areas if the current user is a Telegram Premium user, up to 3 inputStoryAreaTypeWeather areas, and up to 1 inputStoryAreaTypeUpgradedGift area.

Member Function Documentation

◆ store()

void td::td_api::inputStoryAreas::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ areas_

array<object_ptr<inputStoryArea> > td::td_api::inputStoryAreas::areas_

List of input story areas. Currently, a story can have up to 10 inputStoryAreaTypeLocation, inputStoryAreaTypeFoundVenue, and inputStoryAreaTypePreviousVenue areas, up to getOption("story_suggested_reaction_area_count_max") inputStoryAreaTypeSuggestedReaction areas, up to 1 inputStoryAreaTypeMessage area, up to getOption("story_link_area_count_max") inputStoryAreaTypeLink areas if the current user is a Telegram Premium user, up to 3 inputStoryAreaTypeWeather areas, and up to 1 inputStoryAreaTypeUpgradedGift area.

Definition at line 31956 of file td_api.h.

◆ ID

const std::int32_t td::td_api::inputStoryAreas::ID = -883247088
static

Identifier uniquely determining a type of the object.

Definition at line 31971 of file td_api.h.


The documentation for this class was generated from the following file: