Class TdApi.GetChatInviteLinkMembers
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.ChatInviteLinkMembers>
dev.voroby.springframework.telegram.client.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
Modifier 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. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns chat members joined a chat via an invite link.GetChatInviteLinkMembers
(long chatId, String inviteLink, 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 dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
inviteLink
Invite link for which to return chat members. -
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, 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.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
-