Hello @dashandwerk.net (Frank Lehmann),
Thanks for reaching out!
If you're attaching a file under 3 MB, you can add the file attachment to a message. If you're attaching a file between 3 MB and 150 MB to a message, you can create an upload session and iteratively upload ranges of the file to attach it.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.