Class: AccountFollowingFeed
September 10, 2021 · View on GitHub
instagram-private-api / feeds / AccountFollowingFeed
Class: AccountFollowingFeed
feeds.AccountFollowingFeed
Hierarchy
-
Feed<AccountFollowingFeedResponse,AccountFollowingFeedResponseUsersItem>↳
AccountFollowingFeed
Table of contents
Constructors
Properties
Accessors
- [items](AccountFollowingFeed.md#items)
- state
Methods
Constructors
constructor
• new AccountFollowingFeed(client)
Parameters
| Name | Type |
|---|---|
client | IgApiClient |
Inherited from
Defined in
Properties
attemptOptions
• attemptOptions: Partial<AttemptOptions<any>>
Inherited from
Defined in
enableGroups
• enableGroups: boolean = true
Defined in
src/feeds/account-following.feed.ts:9
id
• id: string | number
Defined in
src/feeds/account-following.feed.ts:12
includesHashtags
• includesHashtags: boolean = true
Defined in
src/feeds/account-following.feed.ts:10
nextMaxId
• nextMaxId: string
Defined in
src/feeds/account-following.feed.ts:14
order
• Optional order: "default" | "date_followed_latest" | "date_followed_earliest" = 'default'
Defined in
src/feeds/account-following.feed.ts:7
query
• query: string = ''
Defined in
src/feeds/account-following.feed.ts:8
searchSurface
• Optional searchSurface: string
Defined in
src/feeds/account-following.feed.ts:6
Accessors
items$
• get items$(): Observable<Item[]>
Returns
Observable<Item[]>
Defined in
state
• set state(body): void
Parameters
| Name | Type |
|---|---|
body | AccountFollowingFeedResponse |
Returns
void
Defined in
src/feeds/account-following.feed.ts:16
Methods
deserialize
▸ deserialize(data): void
Parameters
| Name | Type |
|---|---|
data | string |
Returns
void
Inherited from
Defined in
isMoreAvailable
▸ isMoreAvailable(): boolean
Returns
boolean
Inherited from
Defined in
items
▸ items(): Promise<AccountFollowingFeedResponseUsersItem[]>
Returns
Promise<AccountFollowingFeedResponseUsersItem[]>
Overrides
Defined in
src/feeds/account-following.feed.ts:38
observable
▸ observable(semaphore?, attemptOptions?): Observable<AccountFollowingFeedResponseUsersItem[]>
Parameters
| Name | Type |
|---|---|
semaphore? | () => Promise<any> |
attemptOptions? | Partial<AttemptOptions<any>> |
Returns
Observable<AccountFollowingFeedResponseUsersItem[]>
Inherited from
Defined in
request
▸ request(): Promise<AccountFollowingFeedResponse>
Returns
Promise<AccountFollowingFeedResponse>
Overrides
Defined in
src/feeds/account-following.feed.ts:21
serialize
▸ serialize(): string
Returns
string
Inherited from
Defined in
toPlain
▸ toPlain(): Record<string, any>
Returns
Record<string, any>