FeedEntry

class qpy.FeedEntry(feeddict, bot)

Represents qpost’s FeedEntry object

id: int

The unique identifier of this FeedEntry

user: User

The creator of this FeedEntry

text: str

The message of this FeedEntry

parent: FeedEntry

The parent of this FeedEntry (only for types REPLY and SHARE)

type: str

POST / REPLY / NEW_FOLLOWING / SHARE

Type

The type of this FeedEntry, one of these values

is_nsfw: bool

Whether or not this FeedEntry was marked as 18+

attachments: list[MediaFile]

The attachments of this FeedEntry

time_created: str

The timestamp of when this FeedEntry was created

total_replies: int

The amount of replies this FeedEntry has

total_shares: int

The amount of shares this FeedEntry has

total_favorites: int

The amount of favorites this FeedEntry has

has_shared: bool

Whether or not the currently authenticated user has shared this FeedEntry, false if not authenticated

has_favorited: bool

Whether or not the currently authenticated user has favorited this FeedEntry, false if not authenticated

delete()

Deletes this FeedEntry

favorite()

Favorites this FeedEntry

Returns

Favorite

unfavorite()

Unfavorites this FeedEntry

share()

Shares this FeedEntry

Returns

FeedEntry

unshare()

Unshares this FeedEntry