Representation of a Channel Member object.
More...
Representation of a Channel Member object.
Return subscribed user object for current member.
- Parameters
-
listener | Listener to receive the resulting User or error. |
Attributes com.twilio.chat.Member.getAttributes |
( |
| ) |
|
- Returns
- custom Attributes associated with this member.
native Channel com.twilio.chat.Member.getChannel |
( |
| ) |
|
Return channel this member belongs to.
- Returns
- Channel for this member.
native String com.twilio.chat.Member.getIdentity |
( |
| ) |
|
Return user identity for current member.
- Returns
- User identity of current member.
native Long com.twilio.chat.Member.getLastConsumedMessageIndex |
( |
| ) |
|
Return members last consumed message index for this channel.
- Returns
- consumed message index. Null if not set
- See also
- getLastConsumptionTimestamp
native String com.twilio.chat.Member.getLastConsumptionTimestamp |
( |
| ) |
|
Return members last consumed message timestamp for this channel.
- Returns
- consumed message timestamp. Empty string if consumption index is not set
- See also
- getLastConsumedMessageIndex
native String com.twilio.chat.Member.getSid |
( |
| ) |
|
Returns unique identifier of a member on a channel.
- Returns
- The unique id of a member/channel.
native Type com.twilio.chat.Member.getType |
( |
| ) |
|
Return Type of current member.
- Returns
- Type of current member.
Return user descriptor for current member.
- Parameters
-
Set attributes associated with this member.
Passing null
will reset member attributes to an empty json object.
- Parameters
-
attributes | The new developer-provided Attributes for this member. |
listener | Listener that will receive callback with the result. |