public static class TdApi.ChatInviteLinkInfo extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
int |
accessibleFor
If non-zero, the amount of time for which read access to the chat will remain available, in seconds.
|
long |
chatId
Chat identifier of the invite link; 0 if the user has no access to the chat before joining.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
createsJoinRequest
True, if the link only creates join request.
|
java.lang.String |
description
Chat description.
|
boolean |
isPublic
True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup.
|
int |
memberCount
Number of members in the chat.
|
long[] |
memberUserIds
User identifiers of some chat members that may be known to the current user.
|
TdApi.ChatPhotoInfo |
photo
Chat photo; may be null.
|
java.lang.String |
title
Title of the chat.
|
TdApi.ChatType |
type
Type of the chat.
|
Constructor and Description |
---|
ChatInviteLinkInfo()
Contains information about a chat invite link.
|
ChatInviteLinkInfo(long chatId,
int accessibleFor,
TdApi.ChatType type,
java.lang.String title,
TdApi.ChatPhotoInfo photo,
java.lang.String description,
int memberCount,
long[] memberUserIds,
boolean createsJoinRequest,
boolean isPublic)
Contains information about a chat invite link.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public int accessibleFor
public TdApi.ChatType type
public java.lang.String title
@Nullable public TdApi.ChatPhotoInfo photo
public java.lang.String description
public int memberCount
public long[] memberUserIds
public boolean createsJoinRequest
public boolean isPublic
public static final int CONSTRUCTOR
public ChatInviteLinkInfo()
public ChatInviteLinkInfo(long chatId, int accessibleFor, TdApi.ChatType type, java.lang.String title, TdApi.ChatPhotoInfo photo, java.lang.String description, int memberCount, long[] memberUserIds, boolean createsJoinRequest, boolean isPublic)
chatId
- Chat identifier of the invite link; 0 if the user has no access to the chat before joining.accessibleFor
- If non-zero, the amount of time for which read access to the chat will remain available, in seconds.type
- Type of the chat.title
- Title of the chat.photo
- Chat photo; may be null.description
- Chat description.memberCount
- Number of members in the chat.memberUserIds
- User identifiers of some chat members that may be known to the current user.createsJoinRequest
- True, if the link only creates join request.isPublic
- True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup.public int getConstructor()
getConstructor
in class TdApi.Object