Package io.getstream.chat.android.models
Class MemberInfo
-
- All Implemented Interfaces:
-
io.getstream.chat.android.models.CustomObject
@Immutable() public final class MemberInfo implements CustomObject
Model holding limited data about a channel member, as attached to a Message by Message.member.
This is not a full Member: there is no user, no timestamps and no invite or ban state.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringchannelRoleprivate final BooleannotificationsMutedprivate final Map<String, Object>extraData
-
Method Summary
Modifier and Type Method Description final StringgetChannelRole()The channel-level role of the member. final BooleangetNotificationsMuted()If notifications are muted for the member in the channel. Map<String, Object>getExtraData()A map of custom fields for the member. -
-
Method Detail
-
getChannelRole
final String getChannelRole()
The channel-level role of the member.
-
getNotificationsMuted
final Boolean getNotificationsMuted()
If notifications are muted for the member in the channel.
-
getExtraData
Map<String, Object> getExtraData()
A map of custom fields for the member.
Only populated when the app has member custom data on messages enabled.
-
-
-
-