I use https://github.com/kriszyp/msgpackr gen this msgpack
I try use codx-dev/msgpacker unpack
[ 146, 0, 203, 66, 120, 167, 66, 234, 244, 144, 0, ]
I use this code unpack
#[derive(MsgPacker)]
pub struct IdLi {
pub id_li: Vec<u64>,
}
pub async fn run(uid: u64, channel_id: String, body: &[u8]) -> Result<()> {
dbg!(&body);
let id_li = IdLi::unpack(&body)?.1.id_li;
dbg!(id_li);
Ok(())
}
get UnexpectedFormatTag