Class ThreadParticipant

  • All Implemented Interfaces:
    io.getstream.chat.android.models.UserEntity

    @Immutable() 
    public final class ThreadParticipant
     implements UserEntity
                        

    Model holding info about a thread participant.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      User getUser()
      final Date getLastThreadMessageAt()
      • Methods inherited from class io.getstream.chat.android.models.UserEntity

        getUserId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ThreadParticipant

        ThreadParticipant(User user, Date lastThreadMessageAt)
        Parameters:
        user - The User as a thread participant (not always delivered - sometimes it can only hold the User.id).
        lastThreadMessageAt - The date of the last message in the thread at the time of participation.