Package org.drinkless.tdlib
Class TdApi.GetChatInviteLinkMembers
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.ChatInviteLinkMembers>
org.drinkless.tdlib.TdApi.GetChatInviteLinkMembers
- Enclosing class:
- TdApi
public static class TdApi.GetChatInviteLinkMembers
extends TdApi.Function<TdApi.ChatInviteLinkMembers>
Returns chat members joined a chat via an invite link. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links.
Returns ChatInviteLinkMembers
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Chat identifier.static final int
Identifier uniquely determining type of the object.Invite link for which to return chat members.int
The maximum number of chat members to return; up to 100.A chat member from which to return next chat members; pass null to get results from the beginning.boolean
Pass true if the link is a subscription link and only members with expired subscription must be returned. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns chat members joined a chat via an invite link.GetChatInviteLinkMembers
(long chatId, String inviteLink, boolean onlyWithExpiredSubscription, TdApi.ChatInviteLinkMember offsetMember, int limit) Creates a function, which returns chat members joined a chat via an invite link. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
inviteLink
Invite link for which to return chat members. -
onlyWithExpiredSubscription
public boolean onlyWithExpiredSubscriptionPass true if the link is a subscription link and only members with expired subscription must be returned. -
offsetMember
A chat member from which to return next chat members; pass null to get results from the beginning. -
limit
public int limitThe maximum number of chat members to return; up to 100. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetChatInviteLinkMembers
public GetChatInviteLinkMembers()Default constructor for a function, which returns chat members joined a chat via an invite link. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links.Returns
ChatInviteLinkMembers
-
GetChatInviteLinkMembers
public GetChatInviteLinkMembers(long chatId, String inviteLink, boolean onlyWithExpiredSubscription, TdApi.ChatInviteLinkMember offsetMember, int limit) Creates a function, which returns chat members joined a chat via an invite link. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links.Returns
ChatInviteLinkMembers
- Parameters:
chatId
- Chat identifier.inviteLink
- Invite link for which to return chat members.onlyWithExpiredSubscription
- Pass true if the link is a subscription link and only members with expired subscription must be returned.offsetMember
- A chat member from which to return next chat members; pass null to get results from the beginning.limit
- The maximum number of chat members to return; up to 100.
-
-
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
-