Inherits Function.
Returns information about a limit, increased for Premium users. Returns a 404 error if the limit is unknown.
Returns object_ptr<PremiumLimit>.
Public Fields | |
object_ptr< PremiumLimitType > | limit_type_ |
Type of the limit. | |
Public Types | |
using | ReturnType = object_ptr< premiumLimit > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
getPremiumLimit () | |
getPremiumLimit (object_ptr< PremiumLimitType > &&limit_type_) | |
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 = 1075313898 |
Identifier uniquely determining a type of the object. | |
getPremiumLimit | ( | ) |
Default constructor for a function, which returns information about a limit, increased for Premium users. Returns a 404 error if the limit is unknown.
Returns object_ptr<PremiumLimit>.
|
explicit |
Creates a function, which returns information about a limit, increased for Premium users. Returns a 404 error if the limit is unknown.
Returns object_ptr<PremiumLimit>.
[in] | limit_type_ | Type of the limit. |
|
finalvirtual |