Calls a method inside the iframe to control or interact with the character.
Provides direct access to most functionality exposed by the character.
This function requires that the character has been initialized successfully.
If the character failed to load and returned a loadError, use postLoadErrorCall instead.
Calls a method even if the character failed to load properly.
Use this for methods that can be invoked in error states, e.g., logging or fallback operations.
Type Parameters
P extends | (keyof RpcMethods_Misc) |"sentenceSplitter.split" |"arrayBufferProvider.urlify"
Calls a method inside the iframe to control or interact with the character. Provides direct access to most functionality exposed by the character.
This function requires that the character has been initialized successfully. If the character failed to load and returned a
loadError, usepostLoadErrorCallinstead.