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

Inherits Function.

Description

Returns an HTTPS URL of a Web App of a guard bot to open after receiving chatJoinResultGuardBotApprovalRequired.

Returns object_ptr<WebAppUrl>.

Public Types

using ReturnType = object_ptr<webAppUrl>
 Typedef for the type returned by the function.

Public Member Functions

 getGuardBotWebAppUrl ()
 getGuardBotWebAppUrl (int64 query_id_, object_ptr< webAppOpenParameters > &&parameters_)
void store (TlStorerToString &s, const char *field_name) const final
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

object_ptr< webAppOpenParameters > parameters_
 Parameters to use to open the Web App.
int64 query_id_
 Unique identifier of the join request as received in chatJoinResultGuardBotApprovalRequired.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ getGuardBotWebAppUrl() [1/2]

getGuardBotWebAppUrl ( )

Default constructor for a function, which returns an HTTPS URL of a Web App of a guard bot to open after receiving chatJoinResultGuardBotApprovalRequired.

Returns object_ptr<WebAppUrl>.

◆ getGuardBotWebAppUrl() [2/2]

getGuardBotWebAppUrl ( int64 query_id_,
object_ptr< webAppOpenParameters > && parameters_ )

Creates a function, which returns an HTTPS URL of a Web App of a guard bot to open after receiving chatJoinResultGuardBotApprovalRequired.

Returns object_ptr<WebAppUrl>.

Parameters
[in]query_id_Unique identifier of the join request as received in chatJoinResultGuardBotApprovalRequired.
[in]parameters_Parameters to use to open the Web App.

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: