instagram-private-api / feeds / DirectInboxFeed
feeds.DirectInboxFeed
-
Feed
<DirectInboxFeedResponse
,DirectInboxFeedResponseThreadsItem
>↳
DirectInboxFeed
• new DirectInboxFeed(client
)
Name | Type |
---|---|
client |
IgApiClient |
• attemptOptions: Partial
<AttemptOptions
<any
>>
• get
items$(): Observable
<Item
[]>
Observable
<Item
[]>
• set
state(body
): void
Name | Type |
---|---|
body |
DirectInboxFeedResponse |
void
src/feeds/direct-inbox.feed.ts:12
▸ deserialize(data
): void
Name | Type |
---|---|
data |
string |
void
▸ isMoreAvailable(): boolean
boolean
▸ items(): Promise
<DirectInboxFeedResponseThreadsItem
[]>
Promise
<DirectInboxFeedResponseThreadsItem
[]>
src/feeds/direct-inbox.feed.ts:35
▸ observable(semaphore?
, attemptOptions?
): Observable
<DirectInboxFeedResponseThreadsItem
[]>
Name | Type |
---|---|
semaphore? |
() => Promise <any > |
attemptOptions? |
Partial <AttemptOptions <any >> |
Observable
<DirectInboxFeedResponseThreadsItem
[]>
▸ records(): Promise
<DirectThreadEntity
[]>
Promise
<DirectThreadEntity
[]>
src/feeds/direct-inbox.feed.ts:40
▸ request(): Promise
<DirectInboxFeedResponse
>
Promise
<DirectInboxFeedResponse
>
src/feeds/direct-inbox.feed.ts:18
▸ serialize(): string
string
▸ toPlain(): Record
<string
, any
>
Record
<string
, any
>