A smart banner is for people on your website, who may not have the app at all. An in-app message is for people already inside it.
The banner renders itself when the page loads. A message waits until your app asks for one, because only your app knows whether somebody is signed in, mid checkout or halfway through onboarding.
Voir Smart banners et à Messages in-app.