How to use FilterStringAsync from TextService

The hub just states that it returns an ‘instance’ but I can’t find how to actually get the filtered string.

local FilteredName = TextService:FilterStringAsync(name, player.UserId)
	
PlayerData.Character['Roleplay Name'].Value = FilteredName

And is there a difference between the TextService and Chat FilterStringAsync?

Copy-and-pasted since I already answered someone else’s post about this:

If your use-case is different then ignore the part about remotes. See @Halalaluyafail3’s reply about the methods that come with the TextFilterResult object.

It should return a TextFilterResult, which has the methods: GetChatForUserAsync, GetNonChatStringForBroadcastAsync, and GetNonChatStringForUserAsync.

In regards to the difference between the methods, chat methods are most likely just legacy.

Edit: Looks like the main difference is just that there is a resolvable instance
https://devforum.roblox.com/t/new-filtering-service-textservice/57817?u=halalaluyafail3