Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ChannelHandlerParams

Callback parameters for monitoring channel-level events such as pinned status sync, do-not-disturb level sync, typing status, and community channel changes.

example
const handler = new ChannelHandler({
onTypingStatusChanged(event) {
console.log(`User ${event.userTypingStatus.userId} is typing in channel ${event.channelIdentifier.channelId}`);
},
onChannelStatusSyncCompleted(event) {
console.log('Channel status sync completed:', event.code);
},
});
NCEngine.addChannelHandler('my-channel-handler', handler);

Hierarchy

  • ChannelHandlerParams

Index

Methods

  • Called when a channel's pinned status is synced from another device

    Parameters

    Returns void

  • Called when the remote user's typing status changes in a direct channel

    Parameters

    Returns void