Class SetThreadReadRequest.Builder
- java.lang.Object
-
- com.rivet.api.resources.chat.types.SetThreadReadRequest.Builder
-
- All Implemented Interfaces:
SetThreadReadRequest._FinalStage,SetThreadReadRequest.LastReadTsStage
- Enclosing class:
- SetThreadReadRequest
public static final class SetThreadReadRequest.Builder extends java.lang.Object implements SetThreadReadRequest.LastReadTsStage, SetThreadReadRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetThreadReadRequestbuild()SetThreadReadRequest.Builderfrom(SetThreadReadRequest other)SetThreadReadRequest._FinalStagelastReadTs(java.time.OffsetDateTime lastReadTs)Any messages newer than this timestamp will be marked as unread.
-
-
-
Method Detail
-
from
public SetThreadReadRequest.Builder from(SetThreadReadRequest other)
- Specified by:
fromin interfaceSetThreadReadRequest.LastReadTsStage
-
lastReadTs
public SetThreadReadRequest._FinalStage lastReadTs(java.time.OffsetDateTime lastReadTs)
Any messages newer than this timestamp will be marked as unread. This should be the current timestamp (in milliseconds).
- Specified by:
lastReadTsin interfaceSetThreadReadRequest.LastReadTsStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public SetThreadReadRequest build()
- Specified by:
buildin interfaceSetThreadReadRequest._FinalStage
-
-