Members

Members

An instance of this class is created automatically when the code accesses the Members property. The documentation of the methods are available automatically. See example.

Constructor

new Members()

Source:
Example
const Chat = ChatService('<>', '<>');
Chat.Members.list('<parentId>');  // already created!

Methods

get(name) → {Object}

Returns an instance of membership, or else a json with error property. <Reference>

Parameters:
Name Type Description
name String

Required. Resource name of the membership to be retrieved, in the form "spaces/*/members/*"

Source:

list(parent, qpopt) → {Object}

Returns response body, or else a json with error property. <Reference>

Parameters:
Name Type Attributes Default Description
parent String

Required. The resource name of the space for which membership list is to be fetched, in the form "spaces/*".

qp Object <optional>
{}

Query parameters

Properties
Name Type Attributes Description
pageSize Number <optional>

Number of maximum number of results returned

pageToken String <optional>

page token, from previous call

Source: