java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatInviteLinkInfo
- Enclosing class:
- TdApi
Contains information about a chat invite link.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
If non-zero, the amount of time for which read access to the chat will remain available, in seconds.long
Chat identifier of the invite link; 0 if the user has no access to the chat before joining.static final int
boolean
True, if the chat is a public supergroup or channel, i.e.int
Number of members in the chat.long[]
User identifiers of some chat members that may be known to the current user.Chat photo; may be null.Title of the chat.Contains information about the type of the chat. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about a chat invite link.ChatInviteLinkInfo
(long chatId, int accessibleFor, TdApi.ChatType type, String title, TdApi.ChatPhotoInfo photo, int memberCount, long[] memberUserIds, boolean isPublic) Contains information about a chat invite link.ChatInviteLinkInfo
(DataInput input) -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
chatId
public long chatIdChat identifier of the invite link; 0 if the user has no access to the chat before joining. -
accessibleFor
public int accessibleForIf non-zero, the amount of time for which read access to the chat will remain available, in seconds. -
type
Contains information about the type of the chat. -
title
Title of the chat. -
photo
Chat photo; may be null. -
memberCount
public int memberCountNumber of members in the chat. -
memberUserIds
public long[] memberUserIdsUser identifiers of some chat members that may be known to the current user. -
isPublic
public boolean isPublicTrue, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ChatInviteLinkInfo
public ChatInviteLinkInfo()Contains information about a chat invite link. -
ChatInviteLinkInfo
public ChatInviteLinkInfo(long chatId, int accessibleFor, TdApi.ChatType type, String title, TdApi.ChatPhotoInfo photo, int memberCount, long[] memberUserIds, boolean isPublic) Contains information about a chat invite link.- Parameters:
chatId
- long Chat identifier of the invite link; 0 if the user has no access to the chat before joining.accessibleFor
- int If non-zero, the amount of time for which read access to the chat will remain available, in seconds.type
- ChatType Contains information about the type of the chat.title
- String Title of the chat.photo
- ChatPhotoInfo Chat photo; may be null.memberCount
- int Number of members in the chat.memberUserIds
- long[] User identifiers of some chat members that may be known to the current user.isPublic
- boolean True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup.
-
ChatInviteLinkInfo
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-