modified model class ImageChatMessage