TDLib
Loading...
Searching...
No Matches
webDomainException Class Referencefinal

Inherits Object.

Description

Describes an exception for built-in browser usage.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 webDomainException ()
 webDomainException (string const &url_, string const &domain_, string const &title_, int64 favicon_custom_emoji_id_)
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

string domain_
 Domain of the URL. All URLs on the domain and subdomains of the domain are subject to the exception.
int64 favicon_custom_emoji_id_
 Identifier of the custom emoji with favicon of the website; may be 0 if unknown, in which case the first letter of the domain must be used.
string title_
 Title of the website.
string url_
 URL for which the exception is done.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ webDomainException() [1/2]

webDomainException ( )

Describes an exception for built-in browser usage.

◆ webDomainException() [2/2]

webDomainException ( string const & url_,
string const & domain_,
string const & title_,
int64 favicon_custom_emoji_id_ )

Describes an exception for built-in browser usage.

Parameters
[in]url_URL for which the exception is done.
[in]domain_Domain of the URL. All URLs on the domain and subdomains of the domain are subject to the exception.
[in]title_Title of the website.
[in]favicon_custom_emoji_id_Identifier of the custom emoji with favicon of the website; may be 0 if unknown, in which case the first letter of the domain must be used.

Member Function Documentation

◆ store()

void 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 TlObject.


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