add getNotifications() api method
This commit is contained in:
parent
5424772abb
commit
bc6d02d974
2 changed files with 24 additions and 1 deletions
|
@ -93,6 +93,10 @@ export class Client {
|
|||
return user;
|
||||
}
|
||||
|
||||
async getNotifications(since_id, limit, types) {
|
||||
return await api.getNotifications(since_id, limit, types);
|
||||
}
|
||||
|
||||
async getTimeline(last_post_id) {
|
||||
return await api.getTimeline(last_post_id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue