TDLib
Loading...
Searching...
No Matches
td::td_api::linkPreview Class Referencefinal
Inheritance diagram for td::td_api::linkPreview:
td::td_api::Object td::TlObject

Public Member Functions

 linkPreview (string const &url_, string const &display_url_, string const &site_name_, string const &title_, object_ptr< formattedText > &&description_, string const &author_, object_ptr< LinkPreviewType > &&type_, bool has_large_media_, bool show_large_media_, bool show_media_above_description_, bool skip_confirmation_, bool show_above_text_, int32 instant_view_version_)
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

string url_
string display_url_
string site_name_
string title_
object_ptr< formattedTextdescription_
string author_
object_ptr< LinkPreviewTypetype_
bool has_large_media_
bool show_large_media_
bool show_media_above_description_
bool skip_confirmation_
bool show_above_text_
int32 instant_view_version_

Static Public Attributes

static const std::int32_t ID = 1729417714

Member Function Documentation

◆ store()

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

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

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

Implements td::TlObject.


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