public static class TdApi.LinkPreviewTypeChat extends TdApi.LinkPreviewType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
createsJoinRequest
True, if the link only creates join request.
|
TdApi.ChatPhoto |
photo
Photo of the chat; may be null.
|
TdApi.InviteLinkChatType |
type
Type of the chat.
|
| Constructor and Description |
|---|
LinkPreviewTypeChat()
The link is a link to a chat.
|
LinkPreviewTypeChat(TdApi.InviteLinkChatType type,
TdApi.ChatPhoto photo,
boolean createsJoinRequest)
The link is a link to a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.InviteLinkChatType type
public TdApi.ChatPhoto photo
public boolean createsJoinRequest
public static final int CONSTRUCTOR
public LinkPreviewTypeChat()
public LinkPreviewTypeChat(TdApi.InviteLinkChatType type, TdApi.ChatPhoto photo, boolean createsJoinRequest)
type - Type of the chat.photo - Photo of the chat; may be null.createsJoinRequest - True, if the link only creates join request.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object