Skip to content

Latest commit

 

History

History
254 lines (136 loc) · 5.52 KB

MediaCommentsFeed.md

File metadata and controls

254 lines (136 loc) · 5.52 KB

instagram-private-api / feeds / MediaCommentsFeed

Class: MediaCommentsFeed

feeds.MediaCommentsFeed

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new MediaCommentsFeed(client)

Parameters

Name Type
client IgApiClient

Inherited from

Feed.constructor

Defined in

src/core/repository.ts:7

Properties

attemptOptions

attemptOptions: Partial<AttemptOptions<any>>

Inherited from

Feed.attemptOptions

Defined in

src/core/feed.ts:10


id

id: string

Defined in

src/feeds/media-comments.feed.ts:6

Accessors

items$

get items$(): Observable<Item[]>

Returns

Observable<Item[]>

Defined in

src/core/feed.ts:18


state

set state(body): void

Parameters

Name Type
body MediaCommentsFeedResponse

Returns

void

Defined in

src/feeds/media-comments.feed.ts:12

Methods

deserialize

deserialize(data): void

Parameters

Name Type
data string

Returns

void

Inherited from

Feed.deserialize

Defined in

src/core/feed.ts:79


isMoreAvailable

isMoreAvailable(): boolean

Returns

boolean

Inherited from

Feed.isMoreAvailable

Defined in

src/core/feed.ts:87


items

items(): Promise<MediaCommentsFeedResponseCommentsItem[]>

Returns

Promise<MediaCommentsFeedResponseCommentsItem[]>

Overrides

Feed.items

Defined in

src/feeds/media-comments.feed.ts:31


observable

observable(semaphore?, attemptOptions?): Observable<MediaCommentsFeedResponseCommentsItem[]>

Parameters

Name Type
semaphore? () => Promise<any>
attemptOptions? Partial<AttemptOptions<any>>

Returns

Observable<MediaCommentsFeedResponseCommentsItem[]>

Inherited from

Feed.observable

Defined in

src/core/feed.ts:21


request

request(): Promise<MediaCommentsFeedResponse>

Returns

Promise<MediaCommentsFeedResponse>

Overrides

Feed.request

Defined in

src/feeds/media-comments.feed.ts:18


serialize

serialize(): string

Returns

string

Inherited from

Feed.serialize

Defined in

src/core/feed.ts:75


toPlain

toPlain(): Record<string, any>

Returns

Record<string, any>

Inherited from

Feed.toPlain

Defined in

src/core/feed.ts:83