Hello ABHISHEK KUMAR,
Thank you for contacting Microsoft!
As the error message says, application permissions can only be used to import third-party platform messages, not to send messages. To send messages, you must use delegated permissions.
You can refer the below mentioned post for reference:
Additionally, the O365 Management API doesn't support sending messages to Teams channels directly. However, as a workaround you can use Webhooks and connectors which might help you achieve this functionality.
Create a webhook in teams - Go to the channel where you want to send messages, click on "Connectors", and add an "incoming webhook".
Get the webhook URL - copy the URL provided by Teams.
Send a message using the webhook URL - Use an HTTP post request to send a JSON payload to the webhook URL.
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.