Inherits Object.
Contains information about a user shared with a bot.
Public Fields | |
int53 | user_id_ |
User identifier. | |
string | first_name_ |
First name of the user; for bots only. | |
string | last_name_ |
Last name of the user; for bots only. | |
string | username_ |
Username of the user; for bots only. | |
object_ptr< photo > | photo_ |
Profile photo of the user; for bots only; may be null. | |
Public Instance Methods | |
sharedUser () | |
sharedUser (int53 user_id_, string const &first_name_, string const &last_name_, string const &username_, object_ptr< photo > &&photo_) | |
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 = 293020919 |
Identifier uniquely determining a type of the object. | |
sharedUser | ( | ) |
Contains information about a user shared with a bot.
sharedUser | ( | int53 | user_id_, |
string const & | first_name_, | ||
string const & | last_name_, | ||
string const & | username_, | ||
object_ptr< photo > && | photo_ | ||
) |
Contains information about a user shared with a bot.
[in] | user_id_ | User identifier. |
[in] | first_name_ | First name of the user; for bots only. |
[in] | last_name_ | Last name of the user; for bots only. |
[in] | username_ | Username of the user; for bots only. |
[in] | photo_ | Profile photo of the user; for bots only; may be null. |
|
finalvirtual |