Inherits Function.
Handles a DC_UPDATE push service notification. Can be called before authorization.
Returns object_ptr<Ok>.
Public Fields | |
std::string | dc_ |
Value of the "dc" parameter of the notification. | |
std::string | addr_ |
Value of the "addr" parameter of the notification. | |
Public Types | |
using | ReturnType = object_ptr< ok > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
processDcUpdate () | |
processDcUpdate (std::string const &dc_, std::string const &addr_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -1806562997 |
Identifier uniquely determining a type of the object. | |
processDcUpdate | ( | ) |
Default constructor. All fields will be value-initilaized.
processDcUpdate | ( | std::string const & | dc_, |
std::string const & | addr_ | ||
) |
Constructor for initialization of all fields.
[in] | dc_ | Value of the "dc" parameter of the notification. |
[in] | addr_ | Value of the "addr" parameter of the notification. |
|
inlinefinalvirtual |
|
finalvirtual |