add getNotifications() api method

This commit is contained in:
ari melody 2024-07-02 12:55:51 +01:00
parent 5424772abb
commit bc6d02d974
Signed by: ari
GPG key ID: CF99829C92678188
2 changed files with 24 additions and 1 deletions

View file

@ -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);
}