Currently it only handles msgtype and body; more complex types like documents or images are to be implemented soon.