channel.startTyping()
channel.endTyping()
// To listen to an update from other channel members' client app,
// implement the channelDidUpdateTypingStatus() function
// with actions to perform when notified.
class GroupChannelChattingViewController: UIViewController, GroupChannelDelegate {
func initViewController() {
SendbirdChat.add(self as GroupChannelDelegate, identifier: UNIQUE_DELEGATE_ID)
}
func channelDidUpdateTypingStatus(_ channel: GroupChannel) {
if channel.channelURL == self.channel?.channelURL {
let members = channel.getTypingUsers()
// Refresh the typing status of channel members.
}
}
}