def get_storage_key(self, context: TurnContext) -> str:
        """
        Returns the storage key for the current user state.
        :param context:
        :return:
        """
        activity = context.activity
        channel_id = getattr(activity, 'channel_id', None)
        user_id = getattr(activity.from_property, 'id', None) if hasattr(activity, 'from_property') else None

        storage_key = None
        if channel_id and user_id:
            storage_key = "%s/users/%s" % (channel_id, user_id)
        return storage_key
def get_storage_key(self, context: TurnContext) -> str:
        """
        Returns the storage key for the current user state.
        :param context:
        :return:
        """
        activity = context.activity
        channel_id = getattr(activity, 'channel_id', None)
        user_id = getattr(activity.from_property, 'id', None) if hasattr(activity, 'from_property') else None

        storage_key = None
        if channel_id and user_id:
            storage_key = "%s/users/%s" % (channel_id, user_id)
        return storage_key
def get_storage_key ( self , context : TurnContext ) -> str : activity = context . activity channel_id = getattr ( activity , 'channel_id' , None ) user_id = getattr ( activity . from_property , 'id' , None ) if hasattr ( activity , 'from_property' ) else None storage_key = None if channel_id and user_id : storage_key = "%s/users/%s" % ( channel_id , user_id ) return storage_key
Returns the storage key for the current user state.
        :param context:
        :return:
Returns the storage key for the current user state . : param context : : return :