Package org.drinkless.tdlib
Class TdApi.ChatBoostLinkInfo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatBoostLinkInfo
- Enclosing class:
- TdApi
Contains information about a link to boost a chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the chat to which the link points; 0 if the chat isn't found.static final intIdentifier uniquely determining type of the object.booleanTrue, if the link will work for non-members of the chat. -
Constructor Summary
ConstructorsConstructorDescriptionContains 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 TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-