structure for message input img upload