image doesn't have to be emoticon, use a more generic name and make use for the var keyword for less boiler code, e.g.:
var imgMsgPart = (ImageMessagePartModel) msgPart;