status.go
changeset 234 e37050f8a4bf
parent 231 741291bb4772
child 238 1c0042e76902
equal deleted inserted replaced
233:b5fb9a1b68c4 234:e37050f8a4bf
   296 	var status Status
   296 	var status Status
   297 	o := updateStatusOptions{ID: statusID}
   297 	o := updateStatusOptions{ID: statusID}
   298 	err := mc.updateStatusData("unmute", o, &status)
   298 	err := mc.updateStatusData("unmute", o, &status)
   299 	return &status, err
   299 	return &status, err
   300 }
   300 }
       
   301 
       
   302 // GetFavourites returns the list of the user's favourites
       
   303 // If lopt.All is true, several requests will be made until the API server
       
   304 // has nothing to return.
       
   305 // If lopt.Limit is set (and not All), several queries can be made until the
       
   306 // limit is reached.
       
   307 func (mc *Client) GetFavourites(lopt *LimitParams) ([]Status, error) {
       
   308 	return mc.getMultipleStatuses("favourites", nil, lopt)
       
   309 }