Provides the front-end with details about the user. This output can be
    completed using the `api_postback_me` middleware hook.

async def postback_me(msg: BaseMessage, platform: Platform) -> Response:
    """
    Provides the front-end with details about the user. This output can be
    completed using the `api_postback_me` middleware hook.
    """

    async def get_basic_info(_msg: BaseMessage, _platform: Platform):
        user = _msg.get_user()

        return {
            'friendly_name': await user.get_friendly_name(),
            'locale': await user.get_locale(),
            'platform': _platform.NAME,
        }

    func = MiddlewareManager.instance().get('api_postback_me', get_basic_info)

    return json_response(await func(msg, platform))