GetSocialActivityPost Class Reference

Inherits from NSObject
Declared in GetSocialActivityPost.h

Properties and Methods

@property activityId

Id of activity post.

@property (nonatomic, readonly) GetSocialId activityId

Declared In

GetSocialActivityPost.h

@property text

Text content of activity post.

@property (nonatomic, copy, readonly, nullable) NSString *text

Declared In

GetSocialActivityPost.h

@property buttonTitle

Title of button in activity post.

@property (nonatomic, copy, readonly, nullable) NSString *buttonTitle

Declared In

GetSocialActivityPost.h

@property buttonAction

Action of button in activity post. (Deprecated: Use action property.)

@property (nonatomic, copy, readonly, nullable) NSString *buttonAction

Declared In

GetSocialActivityPost.h

@property imageUrl

Image’s url in activity post.

@property (nonatomic, copy, readonly, nullable) NSString *imageUrl

Declared In

GetSocialActivityPost.h

@property videoUrl

Video’s url in activity post.

@property (nonatomic, copy, readonly, nullable) NSString *videoUrl

Declared In

GetSocialActivityPost.h

@property createdAt

UNIX-timestamp of date in seconds when the post was created.

@property (nonatomic, readonly) NSUInteger createdAt

Declared In

GetSocialActivityPost.h

@property stickyStart

UNIX-timestamp of date in seconds when sticky period starts.

@property (nonatomic, readonly) NSUInteger stickyStart

Declared In

GetSocialActivityPost.h

@property stickyEnd

UNIX-timestamp of date in seconds when sticky period ends.

@property (nonatomic, readonly) NSUInteger stickyEnd

Declared In

GetSocialActivityPost.h

@property author

Author of the post

@property (nonatomic, strong, readonly) GetSocialPostAuthor *author

Declared In

GetSocialActivityPost.h

@property isLikedByMe

Returns if the current user liked the post or not.

@property (nonatomic, readonly) BOOL isLikedByMe

Declared In

GetSocialActivityPost.h

@property likesCount

Returns number of likes.

@property (nonatomic, readonly) NSInteger likesCount

Declared In

GetSocialActivityPost.h

@property commentsCount

Returns number of comments.

@property (nonatomic, readonly) NSInteger commentsCount

Declared In

GetSocialActivityPost.h

@property feedId

Returns a feed in which activity or comment was posted.

@property (nonatomic, strong, readonly) NSString *feedId

Declared In

GetSocialActivityPost.h

@property mentions

Returns mentions that are present in contentText.

@property (nonatomic, strong, readonly) NSArray<GetSocialMention*> *mentions

Declared In

GetSocialActivityPost.h

@property action

Action to perform on button click.

@property (nonatomic, strong, readonly) GetSocialAction *action

Declared In

GetSocialActivityPost.h

– isStickyAt:

Checks if post is sticky at the provided date.

- (BOOL)isStickyAt:(NSDate *)date

Parameters

date

date to check.

Return Value

YES, if post is sticky, NO if not.

Declared In

GetSocialActivityPost.h