When is insertAdaptiveImageGlyph:replacementRange: called?

I'm adding support for Genmoji to my app but it's unclear to me if this is something that should be called manually in code to insert an adaptive image glyph or if this is something that the system calls when the user inserts a Genmoji / adaptive image glyph object (ie. sticker) into the UITextView.

When is insertAdaptiveImageGlyph:replacementRange: called?
 
 
Q