A class representing query to retrieve lists related to group channel member.

Hierarchy

  • default
    • MemberListQuery

Properties

channelType: ChannelType

A channel type.

channelUrl: string

A channel URL.

limit: number = DEFAULT_LIST_QUERY_LIMIT

The maximum number of data per queried page.

memberStateFilter: MemberStateFilter = MemberStateFilter.ALL

A filter to return members with the member state matching to MemberStateFilter.

mutedMemberFilter: MutedMemberFilter = MutedMemberFilter.ALL

Muted member filter.

nicknameStartsWithFilter: null | string = null

A filter to return members whose nicknames start with the specified string.

operatorFilter: OperatorFilter = OperatorFilter.ALL

Operator filter.

order: MemberListOrder = MemberListOrder.MEMBER_NICKNAME_ALPHABETICAL

Indicates how the query result should be ordered.

Accessors

  • get hasNext(): boolean
  • Returns boolean

    Whether there is a next page.

  • get isLoading(): boolean
  • Returns boolean

    Whether the current query is in communication progress with server.

Methods

  • Returns Promise<Member[]>

    Gets the list of group channel members. If this method is repeatedly called after each next() is finished, it retrieves the following pages of the group channel members list. If there is no more pages to be read, an empty List (not null) is returned.