Package io.getstream.chat.android.models
Class MessageReminder.Builder
-
- All Implemented Interfaces:
public final class MessageReminder.BuilderBuilder for MessageReminder.
-
-
Constructor Summary
Constructors Constructor Description MessageReminder.Builder()MessageReminder.Builder(MessageReminder reminder)Creates a Builder from the given MessageReminder.
-
Method Summary
Modifier and Type Method Description final MessageReminder.BuilderwithRemindAt(Date remindAt)Sets the date when the user should be reminded about this message. final MessageReminder.BuilderwithCid(String cid)Sets the CID of the channel in which the message is. final MessageReminder.BuilderwithChannel(Channel channel)Sets the channel in which the message belongs to. final MessageReminder.BuilderwithMessageId(String messageId)Sets the ID of the message for which the reminder is set. final MessageReminder.BuilderwithMessage(Message message)Sets the message that has been marked for reminder. final MessageReminder.BuilderwithCreatedAt(Date createdAt)Sets the date when the reminder was created. final MessageReminder.BuilderwithUpdatedAt(Date updatedAt)Sets the date when the reminder was last updated. final MessageReminderbuild()Builds a MessageReminder instance with the provided properties. -
-
Constructor Detail
-
MessageReminder.Builder
MessageReminder.Builder()
-
MessageReminder.Builder
MessageReminder.Builder(MessageReminder reminder)
Creates a Builder from the given MessageReminder.
-
-
Method Detail
-
withRemindAt
final MessageReminder.Builder withRemindAt(Date remindAt)
Sets the date when the user should be reminded about this message.
-
withCid
final MessageReminder.Builder withCid(String cid)
Sets the CID of the channel in which the message is.
-
withChannel
final MessageReminder.Builder withChannel(Channel channel)
Sets the channel in which the message belongs to.
-
withMessageId
final MessageReminder.Builder withMessageId(String messageId)
Sets the ID of the message for which the reminder is set.
-
withMessage
final MessageReminder.Builder withMessage(Message message)
Sets the message that has been marked for reminder.
-
withCreatedAt
final MessageReminder.Builder withCreatedAt(Date createdAt)
Sets the date when the reminder was created.
-
withUpdatedAt
final MessageReminder.Builder withUpdatedAt(Date updatedAt)
Sets the date when the reminder was last updated.
-
build
final MessageReminder build()
Builds a MessageReminder instance with the provided properties.
-
-
-
-