added new constructor with channelId and fixed body undefined error