cc_reminder_bot
as the UID. The name and Avatar can be of your choice.cc_reminder_bot
user should be available for your app in order to use the Reminders extension. There shouldn’t be an existing user using the same UID
.cc_reminder_bot
will send a message to the user.
Users can then list, edit or delete reminders.
Parameter | Value | Description |
---|---|---|
about | Integer/String | Integer => For setting a message reminder. String => For setting a personal reminder. |
isCustom | Boolean | false => For setting a message reminder. true => For setting a personal reminder. |
timeInMS | Integer | Unix timestamp: (e.g.: 1638351344989 ) |
about
should be an integer corresponding to the message id. The isCustom
value should be set tofalse
.
In order to set the reminders, use the CometChat.callExtension
method as shown below:
isCustom
value should be set totrue
.
In order to set the reminders, use the CometChat.callExtension
method as shown below:
reminderId
in the success response.
CometChat.callExtension
method as shown below:
reminderId
as shown below:
reminderId: "e9cda52a-3839-4fd5-a010-b70db136f0f1"
For editing, use the CometChat.callExtension
method as shown below:
timeInMS
can be updated.timeInMS
& about
can be updated.cc_reminder_bot
- that was configured before.
These reminders are sent as messages with category: custom
and type: extension_reminders
. The customData
object will have an about
field that the user had mentioned while setting the reminder.
Learn more about Custom messages listener for receiving reminders.