instagram-private-api / feeds / MediaCommentsFeed
feeds.MediaCommentsFeed
-
Feed
<MediaCommentsFeedResponse
,MediaCommentsFeedResponseCommentsItem
>↳
MediaCommentsFeed
• new MediaCommentsFeed(client
)
Name | Type |
---|---|
client |
IgApiClient |
• attemptOptions: Partial
<AttemptOptions
<any
>>
• id: string
src/feeds/media-comments.feed.ts:6
• get
items$(): Observable
<Item
[]>
Observable
<Item
[]>
• set
state(body
): void
Name | Type |
---|---|
body |
MediaCommentsFeedResponse |
void
src/feeds/media-comments.feed.ts:12
▸ deserialize(data
): void
Name | Type |
---|---|
data |
string |
void
▸ isMoreAvailable(): boolean
boolean
▸ items(): Promise
<MediaCommentsFeedResponseCommentsItem
[]>
Promise
<MediaCommentsFeedResponseCommentsItem
[]>
src/feeds/media-comments.feed.ts:31
▸ observable(semaphore?
, attemptOptions?
): Observable
<MediaCommentsFeedResponseCommentsItem
[]>
Name | Type |
---|---|
semaphore? |
() => Promise <any > |
attemptOptions? |
Partial <AttemptOptions <any >> |
Observable
<MediaCommentsFeedResponseCommentsItem
[]>
▸ request(): Promise
<MediaCommentsFeedResponse
>
Promise
<MediaCommentsFeedResponse
>
src/feeds/media-comments.feed.ts:18
▸ serialize(): string
string
▸ toPlain(): Record
<string
, any
>
Record
<string
, any
>