Class TdApi.GetChatInviteLinkMembers

  • Enclosing class:
    TdApi

    public static class TdApi.GetChatInviteLinkMembers
    extends TdApi.Function
    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 Detail

      • chatId

        public long chatId
        Chat identifier.
      • inviteLink

        public String inviteLink
        Invite link for which to return chat members.
      • offsetMember

        public TdApi.ChatInviteLinkMember offsetMember
        A chat member from which to return next chat members; pass null to get results from the beginning.
      • limit

        public int limit
        The maximum number of chat members to return; up to 100.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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.