Split your files into chunks and merge the resulting chunks into the previous file.
If the messenger has a limit on the size of a single file that can be sent, you can split it into parts and send them, as each part will be smaller than the original file. The recipient will be able to restore the original file using the same program.