public class ConnectorData
The connector data that connector sends to the ConnectorController
public ConnectorData(@NotNull
ConnectorCallback callback,
@Nullable
PlayerId priorUserId,
boolean saveTimeline,
@Nullable
java.lang.String groupId,
@Nullable
java.lang.String referer)
The connector data that connector sends to the ConnectorController
callback - The callback (used mostly in synchronous interface Connector).priorUserId - The previous user id - used when the user had a "temporary" identifierand the definitive identifier is now known.saveTimeline - To know if the timeline has to be saved - default is true.Set to false for bots that you don't need to register.groupId - An optional group id (for users group conversation handling).referer - An optional referer.public boolean getSkipAnswer()
Set to true if the bot does not make any answer to a user sentence.
Synchronous interface Connectors usually do not support skipping answer.
interface Connectorpublic void setSkipAnswer(boolean p)
Set to true if the bot does not make any answer to a user sentence.
Synchronous interface Connectors usually do not support skipping answer.
interface Connector@NotNull public ConnectorCallback getCallback()
The callback
(used mostly in synchronous interface Connector).
interface Connector@Nullable public PlayerId getPriorUserId()
The previous user id
- used when the user had a "temporary" identifierand the definitive identifier is now known.
public boolean getSaveTimeline()
To know if the timeline has to be saved
- default is true.Set to false for bots that you don't need to register.
public void setSaveTimeline(boolean p)
To know if the timeline has to be saved
- default is true.Set to false for bots that you don't need to register.
p - To know if the timeline has to be saved - default is true.Set to false for bots that you don't need to register.@Nullable public java.lang.String getGroupId()
An optional group id
(for users group conversation handling).
@Nullable public java.lang.String getReferer()
An optional referer.