Class TdApi.LinkPreviewTypeUser
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.LinkPreviewType
dev.voroby.springframework.telegram.client.TdApi.LinkPreviewTypeUser
- Enclosing class:
- TdApi
The link is a link to a user.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
True, if the user is a bot.Photo of the user; may be null if none. -
Constructor Summary
ConstructorDescriptionThe link is a link to a user.LinkPreviewTypeUser
(TdApi.ChatPhoto photo, boolean isBot) The link is a link to a user. -
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
-
photo
Photo of the user; may be null if none. -
isBot
public boolean isBotTrue, if the user is a bot. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
LinkPreviewTypeUser
public LinkPreviewTypeUser()The link is a link to a user. -
LinkPreviewTypeUser
The link is a link to a user.- Parameters:
photo
- Photo of the user; may be null if none.isBot
- True, if the user is a bot.
-
-
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
-