-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add options object to specify custom params for feed.items() #1264
base: master
Are you sure you want to change the base?
Conversation
Could close #1263 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should use the class as the input for the options not the request method.
I tried to change that, should we add |
@@ -9,6 +9,8 @@ export class DirectPendingInboxFeed extends Feed<DirectInboxFeedResponse, Direct | |||
@Expose() | |||
private seqId: number; | |||
|
|||
public limit?: number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specify the default values here instead of using ??
operator below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same for another feeds
It is now possible to retrieve as many messages as desired per thread when fetching direct inbox items or direct thread items