public GroupPoolAdd ( string photoId, string groupId ) : bool | ||
photoId | string | The id of one of your photos to be added. |
groupId | string | The id of a group you are a member of. |
return | bool |
public bool GroupPoolAdd(string photoId, string groupId)
{
Hashtable parameters = new Hashtable();
parameters.Add("method", "flickr.groups.pools.add");
parameters.Add("photo_id", photoId);
parameters.Add("group_id", groupId);
FlickrNet.Response response = GetResponseCache(parameters);
if( response.Status == ResponseStatus.OK )
{
return true;
}
else
{
throw new FlickrException(response.Error);
}
}