java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatInviteLinkCount
- Enclosing class:
- TdApi
Describes a chat administrator with a number of active and revoked
chat invite links.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Number of active invite links.int
Number of revoked invite links.long
Administrator's user identifier. -
Constructor Summary
ConstructorDescriptionDescribes a chat administrator with a number of active and revoked chat invite links.ChatInviteLinkCount
(long userId, int inviteLinkCount, int revokedInviteLinkCount) Describes a chat administrator with a number of active and revoked chat invite links.ChatInviteLinkCount
(DataInput input) Describes a chat administrator with a number of active and revoked chat invite links. -
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
-
userId
public long userIdAdministrator's user identifier. -
inviteLinkCount
public int inviteLinkCountNumber of active invite links. -
revokedInviteLinkCount
public int revokedInviteLinkCountNumber of revoked invite links. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatInviteLinkCount
public ChatInviteLinkCount()Describes a chat administrator with a number of active and revoked chat invite links. -
ChatInviteLinkCount
public ChatInviteLinkCount(long userId, int inviteLinkCount, int revokedInviteLinkCount) Describes a chat administrator with a number of active and revoked chat invite links.- Parameters:
userId
- Administrator's user identifier.inviteLinkCount
- Number of active invite links.revokedInviteLinkCount
- Number of revoked invite links.
-
ChatInviteLinkCount
Describes a chat administrator with a number of active and revoked chat invite links.- 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()
-