Get Story Target
Last updated
Last updated
The 'getStoryTarget()
' function in the AmitySDK enables real-time observation of StoryTarget based on specified target. This function returns a LiveObject of StoryTarget, enabling users to receive updates and check whether the target possesses unseen stories.
This function requires two parameters: targetType, targetId.
Here's an explanation of the function parameters:
targetType
: Represents the type of target, currently supporting 'community.'
targetId
: Corresponds to the ID of the designated target.