Hi @Yossi Cahen
Of course, you can refer to the graph API endpoint provided in this document to implement chat in the team channel.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.