Is there a way for a user to block another user?

Currently TalkJS does not have a built-in button to block a user. However, you easily can design a block button yourself, and use the REST API to ban a user from a group chat–in other words, block them.

For a guide on how to ban a user from a conversation using the REST API, see: How to ban users from all chats with TalkJS.