Whatsapp's Android documentation explains how to send text and images as messages but I can't find anything about setting a new emoji image into WhatsApp.
I have downloaded a sticker/emoji creation app on my Android phone. After creating a new memoji, it shows a "Add to WhatsApp" button. I suspect it sends some Intent to WhatsApp, then WhatsApp would show a confirmation to the user about adding the Memoji. Once confirmed, the memoji is added to the Whatsapp keyboard. I haven't seen such Intent documented so want to know what Intent it may be.
You can use StringBuilder like this:
Result :
You can search your emoji character with unicode in the link below. https://unicode.org/emoji/charts/full-emoji-list.html