fix sendchatmsg and add movemedia method