Unless everyone is using iMessage, there's no way to remove yourself from a group text — you'll need to mute or block it.
You can now direct mention someone in a Messages group chat on an iPhone running iOS 14, if all participants in the chat are using iMessage.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results