equal
deleted
inserted
replaced
1 /* |
|
2 Copyright 2017-2018 Mikael Berthe |
|
3 |
|
4 Licensed under the MIT license. Please see the LICENSE file is this directory. |
|
5 */ |
|
6 |
|
7 package madon |
|
8 |
|
9 // GetFavourites returns the list of the user's favourites |
|
10 // If lopt.All is true, several requests will be made until the API server |
|
11 // has nothing to return. |
|
12 // If lopt.Limit is set (and not All), several queries can be made until the |
|
13 // limit is reached. |
|
14 func (mc *Client) GetFavourites(lopt *LimitParams) ([]Status, error) { |
|
15 return mc.getMultipleStatuses("favourites", nil, lopt) |
|
16 } |
|