selectTimeSlot
public final static Unit selectTimeSlot(ChatThreadEventHandler $self, String timeSlotLocalizedText, TimeSlot timeSlot, ChatThreadEventHandler.OnEventSentListener listener, ChatThreadEventHandler.OnEventErrorListener errorListener)
public final static Unit selectTimeSlot(ChatThreadEventHandler $self, String timeSlotLocalizedText, TimeSlot timeSlot, ChatThreadEventHandler.OnEventSentListener listener)
public final static Unit selectTimeSlot(ChatThreadEventHandler $self, String timeSlotLocalizedText, TimeSlot timeSlot)
Sends a postback for the selected time slot (typically in response to a TimePicker TimeSlot message).
Parameters
timeSlotLocalizedText
The text representing the selected time slot, as it was presented to the user.
timeSlot
The selected TimeSlot containing the id and other relevant information used to build the postback.
listener
An optional listener to be notified when the event is sent.
errorListener
An optional listener to be notified if an error occurs while sending.