Inherits LinkPreviewType.
The link is a link to a user.
Public Fields | |
object_ptr< chatPhoto > | photo_ |
Photo of the user; may be null if none. | |
bool | is_bot_ |
True, if the user is a bot. | |
Public Instance Methods | |
linkPreviewTypeUser () | |
linkPreviewTypeUser (object_ptr< chatPhoto > &&photo_, bool is_bot_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
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 = -1465024132 |
Identifier uniquely determining a type of the object. | |
The link is a link to a user.
linkPreviewTypeUser | ( | object_ptr< chatPhoto > && | photo_, |
bool | is_bot_ | ||
) |
The link is a link to a user.
[in] | photo_ | Photo of the user; may be null if none. |
[in] | is_bot_ | True, if the user is a bot. |
|
finalvirtual |