SchedulerMessage class is used to create an interactive scheduler message that can be sent via CometChat. It extends the Interactive Interactive Messages class from CometChat.
Properties
| Name | Type | Description |
|---|---|---|
| receiverUid | String | The ID of the receiver |
| receiverType | String | The type of the receiver |
| title | String | The title of the scheduler message |
| scheduleElement | ButtonElement | The schedule button of the meet message. |
| goalCompletionText | String | The text visible after completion of goal |
| interactions | Interactions | Gives the list of elements you have interacted with |
| allowSenderInteraction | bool | Allows the sender interaction. default is false |
| avatarUrl | String | url to set avatar visible in scheduler bubble |
| timezoneCode | String | the message sender’s timezone code according to which availability is set |
| bufferTime | Int | The time added between events |
| duration | Int | The time for the event slots |
| availability | [String: [TimeRange}] | The date time range for availability in different days |
| dateRangeStart | Int | Date from which event can be scheduled |
| dateRangeEnd | Int | Date upto which event can be scheduled |
| icsFileUrl | String | url to access ics file which can tell the schedule of message sender |
Class Usage
How to create an instance of theSchedulerMessage class: