channel: fix unpack_channel
datagram: fix datagram
message: fix type