Class TdApi.LinkPreviewTypeChat
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.LinkPreviewType
dev.voroby.springframework.telegram.client.TdApi.LinkPreviewTypeChat
- Enclosing class:
- TdApi
The link is a link to a chat.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
True, if the link only creates join request.Photo of the chat; may be null.Type of the chat. -
Constructor Summary
ConstructorDescriptionThe link is a link to a chat.LinkPreviewTypeChat
(TdApi.InviteLinkChatType type, TdApi.ChatPhoto photo, boolean createsJoinRequest) The link is a link to a chat. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
type
Type of the chat. -
photo
Photo of the chat; may be null. -
createsJoinRequest
public boolean createsJoinRequestTrue, if the link only creates join request. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
LinkPreviewTypeChat
public LinkPreviewTypeChat()The link is a link to a chat. -
LinkPreviewTypeChat
public LinkPreviewTypeChat(TdApi.InviteLinkChatType type, TdApi.ChatPhoto photo, boolean createsJoinRequest) The link is a link to a chat.- Parameters:
type
- Type of the chat.photo
- Photo of the chat; may be null.createsJoinRequest
- True, if the link only creates join request.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-