java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.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.ChatBoostLinkInfo
(DataInput input) Contains information about a link to boost a chat. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, 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.
-
ChatBoostLinkInfo
Contains information about a link to boost a chat.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-