public static class TdApi.ChatInviteLinkInfo extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
int |
accentColorId
Identifier of the accent color for chat title and background of chat photo.
|
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 |
isFake
True, if many users reported this chat as a fake account.
|
boolean |
isPublic
True, if the chat is a public supergroup or channel, i.e.
|
boolean |
isScam
True, if many users reported this chat as a scam.
|
boolean |
isVerified
True, if the chat is verified.
|
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.
|
TdApi.ChatInviteLinkSubscriptionInfo |
subscriptionInfo
Information about subscription plan that must be paid by the user to use the link; may be null if the link doesn't require subscription.
|
java.lang.String |
title
Title of the chat.
|
TdApi.InviteLinkChatType |
type
Type of the chat.
|
| Constructor and Description |
|---|
ChatInviteLinkInfo()
Contains information about a chat invite link.
|
ChatInviteLinkInfo(long chatId,
int accessibleFor,
TdApi.InviteLinkChatType type,
java.lang.String title,
TdApi.ChatPhotoInfo photo,
int accentColorId,
java.lang.String description,
int memberCount,
long[] memberUserIds,
TdApi.ChatInviteLinkSubscriptionInfo subscriptionInfo,
boolean createsJoinRequest,
boolean isPublic,
boolean isVerified,
boolean isScam,
boolean isFake)
Contains information about a chat invite link.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public int accessibleFor
public TdApi.InviteLinkChatType type
public java.lang.String title
public TdApi.ChatPhotoInfo photo
public int accentColorId
public java.lang.String description
public int memberCount
public long[] memberUserIds
public TdApi.ChatInviteLinkSubscriptionInfo subscriptionInfo
public boolean createsJoinRequest
public boolean isPublic
public boolean isVerified
public boolean isScam
public boolean isFake
public static final int CONSTRUCTOR
public ChatInviteLinkInfo()
public ChatInviteLinkInfo(long chatId,
int accessibleFor,
TdApi.InviteLinkChatType type,
java.lang.String title,
TdApi.ChatPhotoInfo photo,
int accentColorId,
java.lang.String description,
int memberCount,
long[] memberUserIds,
TdApi.ChatInviteLinkSubscriptionInfo subscriptionInfo,
boolean createsJoinRequest,
boolean isPublic,
boolean isVerified,
boolean isScam,
boolean isFake)
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.accentColorId - Identifier of the accent color for chat title and background of chat photo.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.subscriptionInfo - Information about subscription plan that must be paid by the user to use the link; may be null if the link doesn't require subscription.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.isVerified - True, if the chat is verified.isScam - True, if many users reported this chat as a scam.isFake - True, if many users reported this chat as a fake account.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object