Added internalType field to TbMsg to have the ability to use switch-cases instead of if-return blocks.