Skip to content

Latest commit

 

History

History
233 lines (124 loc) · 4.74 KB

UserFeed.md

File metadata and controls

233 lines (124 loc) · 4.74 KB

instagram-private-api / feeds / UserFeed

Class: UserFeed

feeds.UserFeed

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new UserFeed(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 | number

Defined in

src/feeds/user.feed.ts:6

Accessors

items$

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

Returns

Observable<Item[]>

Defined in

src/core/feed.ts:18

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<UserFeedResponseItemsItem[]>

Returns

Promise<UserFeedResponseItemsItem[]>

Overrides

Feed.items

Defined in

src/feeds/user.feed.ts:26


observable

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

Parameters

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

Returns

Observable<UserFeedResponseItemsItem[]>

Inherited from

Feed.observable

Defined in

src/core/feed.ts:21


request

request(): Promise<UserFeedResponse>

Returns

Promise<UserFeedResponse>

Overrides

Feed.request

Defined in

src/feeds/user.feed.ts:15


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