BootstrapResponse
data class BootstrapResponse(val visitorToken: String, val visitor: VisitorDto, val config: SiteConfig, val availability: Availability, val timeline: List<TimelineItem>, val wsUrl: String, val conversation: ConversationSummary? = null, val protocolVersion: Int = 1, val timelineHasMore: Boolean? = null, val appId: String? = null, val appPlatform: String? = null)
What POST /bootstrap returns.
Constructors
Link copied to clipboard
constructor(visitorToken: String, visitor: VisitorDto, config: SiteConfig, availability: Availability, timeline: List<TimelineItem>, wsUrl: String, conversation: ConversationSummary? = null, protocolVersion: Int = 1, timelineHasMore: Boolean? = null, appId: String? = null, appPlatform: String? = null)
Properties
Link copied to clipboard
The site app platform.
Link copied to clipboard
Team availability.
Link copied to clipboard
Site settings.
Link copied to clipboard
The active conversation, if any.
Link copied to clipboard
Protocol version the gateway speaks.
Link copied to clipboard
The last messages of the active conversation, oldest first.
Link copied to clipboard
Older items exist before timeline; null from gateways that do not say.
Link copied to clipboard
The visitor.
Link copied to clipboard
The visitor token to keep and send on every call.