Possibly check blocked state instead of exception

Contributor
Once a user blocked the bot, and when a message is sent to that user, the exception(Forbidden) was thrown. Is there any possible way to check whether the user has blocked or not, instead of catching the exception?
So maybe something like if(user.hasblocked()) {}....?
1 Reply

Hi @firstteam - Currently there is no api or SDK to check whether user is blocked the app or not. we recommend you to raise a Teams UserVoice here if this needs to be consider as a future request.