Class TdApi.ChatBoostLinkInfo
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ChatBoostLinkInfo
- Enclosing class:
- TdApi
Contains information about a link to boost a chat.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat to which the link points; 0 if the chat isn't found.static final int
Identifier uniquely determining type of the object.boolean
True, if the link will work for non-members of the chat. -
Constructor Summary
ConstructorDescriptionContains information about a link to boost a chat.ChatBoostLinkInfo
(boolean isPublic, long chatId) Contains information about a link to boost 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
-
isPublic
public boolean isPublicTrue, if the link will work for non-members of the chat. -
chatId
public long chatIdIdentifier of the chat to which the link points; 0 if the chat isn't found. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatBoostLinkInfo
public ChatBoostLinkInfo()Contains information about a link to boost a chat. -
ChatBoostLinkInfo
public ChatBoostLinkInfo(boolean isPublic, long chatId) Contains information about a link to boost a chat.- Parameters:
isPublic
- True, if the link will work for non-members of the chat.chatId
- Identifier of the chat to which the link points; 0 if the chat isn't found.
-
-
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
-