notifications
fun notifications(notificationConfig: NotificationConfig, notificationsHandler: NotificationHandler = NotificationHandlerFactory.createNotificationHandler(
context = appContext,
notificationConfig = notificationConfig,
)): ChatClient.Builder
Sets a custom NotificationHandler that the SDK will use to handle everything around push notifications. Create your own subclass and override methods to customize notification appearance and behavior.
See the Push Notifications documentation for more information.
Parameters
notificationConfig
Config push notification.
notificationsHandler
Your custom class implementation of NotificationHandler.