Package io.getstream.chat.android.models
Class TypingUser
-
- All Implemented Interfaces:
@Immutable() public final class TypingUserA user currently typing in a channel, together with their membership of that channel.
The membership is kept beside user rather than on it, because User is shared across every channel while MemberInfo describes this one channel only.
-
-
Field Summary
Fields Modifier and Type Field Description private final Useruserprivate final MemberInfomember
-
Constructor Summary
Constructors Constructor Description TypingUser(User user, MemberInfo member)
-
Method Summary
Modifier and Type Method Description final UsergetUser()The user who is typing. final MemberInfogetMember()Data about the channel membership of the user who is typing. -
-
Constructor Detail
-
TypingUser
TypingUser(User user, MemberInfo member)
-
-
Method Detail
-
getMember
final MemberInfo getMember()
Data about the channel membership of the user who is typing.
Only populated when the app has member custom data on messages enabled.
-
-
-
-