Package io.getstream.chat.android.models
Class MessageReminder
-
- All Implemented Interfaces:
-
io.getstream.chat.android.models.querysort.ComparableFieldProvider
@Immutable() public final class MessageReminder implements ComparableFieldProvider
Model holding data about a message reminder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageReminder.BuilderBuilder for MessageReminder.
-
Method Summary
Modifier and Type Method Description final DategetRemindAt()The date when the user should be reminded about this message. final StringgetCid()CID of the channel in which the message is. final ChannelgetChannel()The channel in which the message belongs to. final StringgetMessageId()ID of the message for which the reminder is set. final MessagegetMessage()The message that has been marked for reminder. final DategetCreatedAt()Date when the reminder was created. final DategetUpdatedAt()Date when the reminder was last updated. Comparable<?>getComparableField(String fieldName)Gets a comparable fields from a name. final MessageReminder.BuildernewBuilder()Creates a Builder of this MessageReminder instance, allowing to modify some of its properties. -
-
Method Detail
-
getRemindAt
final Date getRemindAt()
The date when the user should be reminded about this message. If null, this is a bookmark type reminder without a notification.
-
getChannel
final Channel getChannel()
The channel in which the message belongs to.
-
getMessageId
final String getMessageId()
ID of the message for which the reminder is set.
-
getMessage
final Message getMessage()
The message that has been marked for reminder.
-
getCreatedAt
final Date getCreatedAt()
Date when the reminder was created.
-
getUpdatedAt
final Date getUpdatedAt()
Date when the reminder was last updated.
-
getComparableField
Comparable<?> getComparableField(String fieldName)
Gets a comparable fields from a name.
-
newBuilder
@SinceKotlin(version = "99999.9") final MessageReminder.Builder newBuilder()
Creates a Builder of this MessageReminder instance, allowing to modify some of its properties.
-
-
-
-