Work scheme: when authorizing on a new device, the server sends a one-time password to an application already authorized on another device (for example, Telegram, in my case it is not a messenger).
The question is, how in an authorized application to catch the receipt of such a code to display it?