|
TDLib
|
Inherits Function.
Checks whether a username can be set for a new bot. Use checkChatUsername to check username for other chat types.
Returns object_ptr<CheckChatUsernameResult>.
Public Types | |
| using | ReturnType = object_ptr<CheckChatUsernameResult> |
| Typedef for the type returned by the function. | |
Public Member Functions | |
| checkBotUsername () | |
| checkBotUsername (string const &username_) | |
| 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 | |
| string | username_ |
| Username to be checked. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1358454679 |
| Identifier uniquely determining a type of the object. | |
| checkBotUsername | ( | ) |
Default constructor for a function, which checks whether a username can be set for a new bot. Use checkChatUsername to check username for other chat types.
Returns object_ptr<CheckChatUsernameResult>.
|
explicit |
Creates a function, which checks whether a username can be set for a new bot. Use checkChatUsername to check username for other chat types.
Returns object_ptr<CheckChatUsernameResult>.
| [in] | username_ | Username to be checked. |
|
finalvirtual |