The original Pyrogram is abandoned and does not support custom emoji reaction.
You can install a fork which has support for the custom emoji reaction.