Package org.drinkless.tdlib
Class TdApi.ChatInviteLinkInfo
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.ChatInviteLinkInfo
-
- Enclosing class:
- TdApi
public static class TdApi.ChatInviteLinkInfo extends TdApi.Object
Contains information about a chat invite link.
-
-
Field Summary
Fields Modifier and Type Field Description intaccessibleForIf non-zero, the amount of time for which read access to the chat will remain available, in seconds.longchatIdChat identifier of the invite link; 0 if the user has no access to the chat before joining.static intCONSTRUCTORIdentifier uniquely determining type of the object.booleancreatesJoinRequestTrue, if the link only creates join request.StringdescriptionChat description.booleanisPublicTrue, if the chat is a public supergroup or channel, i.e.intmemberCountNumber of members in the chat.long[]memberUserIdsUser identifiers of some chat members that may be known to the current user.TdApi.ChatPhotoInfophotoChat photo; may be null.StringtitleTitle of the chat.TdApi.ChatTypetypeType of the chat.
-
Constructor Summary
Constructors Constructor Description ChatInviteLinkInfo()Contains information about a chat invite link.ChatInviteLinkInfo(long chatId, int accessibleFor, TdApi.ChatType type, String title, TdApi.ChatPhotoInfo photo, String description, int memberCount, long[] memberUserIds, boolean createsJoinRequest, boolean isPublic)Contains information about a chat invite link.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier of the invite link; 0 if the user has no access to the chat before joining.
-
accessibleFor
public int accessibleFor
If non-zero, the amount of time for which read access to the chat will remain available, in seconds.
-
type
public TdApi.ChatType type
Type of the chat.
-
title
public String title
Title of the chat.
-
photo
public TdApi.ChatPhotoInfo photo
Chat photo; may be null.
-
description
public String description
Chat description.
-
memberCount
public int memberCount
Number of members in the chat.
-
memberUserIds
public long[] memberUserIds
User identifiers of some chat members that may be known to the current user.
-
createsJoinRequest
public boolean createsJoinRequest
True, if the link only creates join request.
-
isPublic
public 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.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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, String description, int memberCount, long[] memberUserIds, boolean createsJoinRequest, boolean isPublic)Contains information about a chat invite link.- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-