Time selector messaging components send customers a prompt and a list of available time
slots for them to choose from. To generate the list of time slots each time the component is sent,
create an Apex class. The Apex class determines the time slot start time, duration, and time
zone.
Required Editions
| View supported editions. |
This article applies to:
|
Enhanced In-App Chat, Enhanced Web Chat v1, Enhanced WhatsApp, Enhanced Facebook
Messenger, and Enhanced Apple Messages for Business, and Bring Your Own
Channel |
This article doesn’t apply to:
|
Enhanced Web Chat v2, Standard and Enhanced SMS, and Enhanced LINE |
This Apex class provides example time slots at several intervals, each set by a pair of
Datetime statements.