Inherits LinkPreviewType.
The link is a link to a chat.
Public Fields | |
object_ptr< InviteLinkChatType > | type_ |
Type of the chat. | |
object_ptr< chatPhoto > | photo_ |
Photo of the chat; may be null. | |
bool | creates_join_request_ |
True, if the link only creates join request. | |
Public Instance Methods | |
linkPreviewTypeChat () | |
linkPreviewTypeChat (object_ptr< InviteLinkChatType > &&type_, object_ptr< chatPhoto > &&photo_, bool creates_join_request_) | |
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 = -1372610270 |
Identifier uniquely determining a type of the object. | |
The link is a link to a chat.
linkPreviewTypeChat | ( | object_ptr< InviteLinkChatType > && | type_, |
object_ptr< chatPhoto > && | photo_, | ||
bool | creates_join_request_ | ||
) |
The link is a link to a chat.
[in] | type_ | Type of the chat. |
[in] | photo_ | Photo of the chat; may be null. |
[in] | creates_join_request_ | True, if the link only creates join request. |
|
finalvirtual |