Chat iOS v4
This is the new Docs for Chat SDK v4 for iOS. To see the previous Docs, click here.
A user can delete any messages which were sent by themselves. An error is returned if a user attempts to delete messages sent by other users. Also channel operators can delete any messages in a channel. This works the same way for both open channels and group channels.
If a message is deleted, the
channel(_:messageWasDeleted:) method in channel delegate will be invoked on all users' devices including the one that deleted the message.